Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 115.3 kB / 19.7 MB, free: 2.176 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 189.6 kB / 22.98 MB, free: 5.008 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 207.6 MB / 233.7 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06882/0.06882, allocations: 14.38 MB / 300.4 MB, free: 7.559 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants")
translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 78 kB / 421.8 MB, free: 38.96 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.0953, allocations: 52.9 MB / 474.7 MB, free: 1.984 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001822/0.09712, allocations: 495.9 kB / 475.2 MB, free: 1.504 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003735/0.0975, allocations: 124 kB / 475.3 MB, free: 1.383 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.09752, allocations: 4 kB / 475.3 MB, free: 1.379 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.09755, allocations: 3.938 kB / 475.3 MB, free: 1.375 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.09783, allocations: 19.92 kB / 475.3 MB, free: 1.355 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 4.498e-06/0.09784, allocations: 0 / 475.3 MB, free: 1.355 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 3.74e-05/0.09787, allocations: 3.938 kB / 475.3 MB, free: 1.352 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.09793, allocations: 7.984 kB / 475.4 MB, free: 1.344 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.228e-05/0.09795, allocations: 0 / 475.4 MB, free: 1.344 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.09808, allocations: 15.98 kB / 475.4 MB, free: 1.328 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.849e-06/0.09808, allocations: 0 / 475.4 MB, free: 1.328 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.436e-06/0.09809, allocations: 0 / 475.4 MB, free: 1.328 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.862e-06/0.09809, allocations: 0 / 475.4 MB, free: 1.328 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.22e-05/0.09811, allocations: 0 / 475.4 MB, free: 1.328 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 4.183e-05/0.09815, allocations: 3.938 kB / 475.4 MB, free: 1.324 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09815, allocations: 0 / 475.4 MB, free: 1.324 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.372e-06/0.09815, allocations: 0 / 475.4 MB, free: 1.324 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.4e-06/0.09816, allocations: 0 / 475.4 MB, free: 1.324 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0002859/0.09844, allocations: 246.4 kB / 475.6 MB, free: 1.051 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.09848, allocations: 12.03 kB / 475.6 MB, free: 1.039 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.09851, allocations: 0.9375 kB / 475.6 MB, free: 1.039 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.09859, allocations: 102.5 kB / 475.7 MB, free: 0.9141 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.0986, allocations: 384 / 475.7 MB, free: 0.9141 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.09861, allocations: 4.312 kB / 475.7 MB, free: 0.9102 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.09872, allocations: 43.98 kB / 475.8 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.09873, allocations: 192 / 475.8 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.09874, allocations: 11.94 kB / 475.8 MB, free: 0.8438 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.09875, allocations: 3.984 kB / 475.8 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.09877, allocations: 0 / 475.8 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.09912, allocations: 430.7 kB / 476.2 MB, free: 380 kB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.91e-05/0.09922, allocations: 177.1 kB / 476.4 MB, free: 192 kB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.09927, allocations: 88.12 kB / 476.5 MB, free: 100 kB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.0993, allocations: 75.28 kB / 476.5 MB, free: 24 kB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/0.09937, allocations: 105.8 kB / 476.6 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.09937, allocations: 0 / 476.6 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of matching and sorting (n=0): time 7.103e-05/0.09944, allocations: 29.64 kB / 476.7 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.09951, allocations: 130.7 kB / 476.8 MB, free: 15.73 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.0996, allocations: 97.86 kB / 476.9 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.09961, allocations: 25.7 kB / 476.9 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.09967, allocations: 92.08 kB / 477 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.09967, allocations: 0 / 477 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.0997, allocations: 13.67 kB / 477 MB, free: 15.48 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001374/0.09984, allocations: 318.8 kB / 477.3 MB, free: 15.16 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.09985, allocations: 0 / 477.3 MB, free: 15.16 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.09987, allocations: 21.84 kB / 477.4 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.0999, allocations: 13.66 kB / 477.4 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.0999, allocations: 3.938 kB / 477.4 MB, free: 15.11 MB / 350.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001044/0.1, allocations: 49.62 kB / 477.4 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.1, allocations: 4 kB / 477.4 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1, allocations: 3.938 kB / 477.4 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1001, allocations: 4.125 kB / 477.4 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.026e-05/0.1001, allocations: 4 kB / 477.4 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1001, allocations: 0 / 477.4 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.1001, allocations: 0 / 477.4 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1001, allocations: 4 kB / 477.4 MB, free: 15.04 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.1002, allocations: 185.1 kB / 477.6 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.1003, allocations: 105 kB / 477.7 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.1004, allocations: 112.1 kB / 477.8 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-05/0.1004, allocations: 184.3 kB / 478 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.3e-05/0.1005, allocations: 184.2 kB / 478.2 MB, free: 14.25 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.889e-05/0.1006, allocations: 176.3 kB / 478.4 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1009, allocations: 376.2 kB / 478.7 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/0.1009, allocations: 113 kB / 478.8 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.101, allocations: 105 kB / 478.9 MB, free: 13.42 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.1012, allocations: 184.2 kB / 479.1 MB, free: 13.23 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.1013, allocations: 180.2 kB / 479.3 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-05/0.1014, allocations: 176.3 kB / 479.5 MB, free: 12.87 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001867/0.1016, allocations: 184.2 kB / 479.7 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.1023, allocations: 1.071 MB / 480.7 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1023, allocations: 108.9 kB / 480.8 MB, free: 11.43 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.1025, allocations: 184.2 kB / 481 MB, free: 11.24 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.1026, allocations: 109 kB / 481.1 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.1027, allocations: 188.2 kB / 481.3 MB, free: 10.94 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.1028, allocations: 101 kB / 481.4 MB, free: 10.83 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 4.335e-05/0.1029, allocations: 75.28 kB / 481.5 MB, free: 10.76 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1029, allocations: 0 / 481.5 MB, free: 10.76 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004121/0.1033, allocations: 4 kB / 481.5 MB, free: 10.75 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.1034, allocations: 170.6 kB / 481.6 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 7.6e-05/0.1035, allocations: 7.938 kB / 481.7 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1035, allocations: 0 / 481.7 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1035, allocations: 0 / 481.7 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.104, allocations: 462.2 kB / 482.1 MB, free: 10.11 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.1042, allocations: 172.1 kB / 482.3 MB, free: 9.918 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1045, allocations: 0.6768 MB / 483 MB, free: 9.215 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 2.158e-05/0.1045, allocations: 3.938 kB / 483 MB, free: 9.211 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.832e-05/0.1046, allocations: 11.38 kB / 483 MB, free: 9.199 MB / 350.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.1046, allocations: 0 / 483 MB, free: 9.199 MB / 350.1 MB
Notification: Performance of Templates: time 0.002273/0.1068, allocations: 177 kB / 483.1 MB, free: 9.027 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660]
(rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.68728624843061]