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.001673/0.001673, allocations: 104.6 kB / 20.34 MB, free: 1.582 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.001734/0.001734, allocations: 190.5 kB / 23.6 MB, free: 4.973 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.449/1.449, allocations: 207.6 MB / 234.3 MB, free: 10.02 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.07269/0.07269, allocations: 14.39 MB / 301 MB, free: 7.492 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.002293/0.002293, allocations: 67.89 kB / 422.2 MB, free: 38.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08091/0.0832, allocations: 52.9 MB / 475.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001552/0.08475, allocations: 496.3 kB / 475.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.08512, allocations: 124 kB / 475.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.08514, allocations: 0 / 475.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.086e-05/0.08515, allocations: 0 / 475.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.08541, allocations: 25.98 kB / 475.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.858e-06/0.08542, allocations: 0 / 475.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.073e-05/0.08545, allocations: 3.938 kB / 475.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.0855, allocations: 4 kB / 475.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.345e-05/0.08552, allocations: 3.984 kB / 475.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.08562, allocations: 15.98 kB / 475.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-06/0.08562, allocations: 0 / 475.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.695e-06/0.08563, allocations: 0 / 475.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-06/0.08563, allocations: 0 / 475.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.08565, allocations: 0 / 475.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.72e-05/0.08569, allocations: 11.92 kB / 475.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.08569, allocations: 0 / 475.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08569, allocations: 0 / 475.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.08569, allocations: 0 / 475.8 MB, free: 1.23 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.0002691/0.08596, allocations: 234.4 kB / 476 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.086, allocations: 12.03 kB / 476.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.08602, allocations: 4.922 kB / 476.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.519e-05/0.08611, allocations: 106.5 kB / 476.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.08612, allocations: 384 / 476.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.08613, allocations: 384 / 476.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.08624, allocations: 47.92 kB / 476.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.08625, allocations: 192 / 476.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.08626, allocations: 7.938 kB / 476.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.08627, allocations: 0 / 476.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.08628, allocations: 0 / 476.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.08664, allocations: 442.7 kB / 476.7 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/0.08673, allocations: 173.1 kB / 476.8 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.08677, allocations: 80.14 kB / 476.9 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.08682, allocations: 75.28 kB / 477 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.08688, allocations: 109.8 kB / 477.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.08688, allocations: 0 / 477.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.889e-05/0.08695, allocations: 33.62 kB / 477.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.08701, allocations: 134.7 kB / 477.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.0871, allocations: 89.86 kB / 477.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.08712, allocations: 25.7 kB / 477.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.08716, allocations: 88.09 kB / 477.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.08717, allocations: 3.938 kB / 477.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.0872, allocations: 21.8 kB / 477.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.08734, allocations: 318.8 kB / 477.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.08734, allocations: 0 / 477.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.331e-05/0.08736, allocations: 9.719 kB / 477.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.08739, allocations: 17.66 kB / 477.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.08739, allocations: 8 kB / 477.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.023e-05/0.08748, allocations: 37.7 kB / 477.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.08749, allocations: 8 kB / 477.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.0875, allocations: 3.984 kB / 477.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.08751, allocations: 7.875 kB / 477.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.08756, allocations: 4 kB / 477.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.08756, allocations: 0 / 477.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.08757, allocations: 0 / 477.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.08758, allocations: 4 kB / 477.9 MB, free: 14.95 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.0001081/0.08769, allocations: 189.1 kB / 478.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.08776, allocations: 105 kB / 478.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.08782, allocations: 112.1 kB / 478.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-05/0.0879, allocations: 184.2 kB / 478.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.493e-05/0.08797, allocations: 176.3 kB / 478.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.26e-05/0.08804, allocations: 180.2 kB / 478.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.08829, allocations: 388.2 kB / 479.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-05/0.08834, allocations: 109 kB / 479.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.08838, allocations: 101 kB / 479.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-05/0.08848, allocations: 180.3 kB / 479.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.08856, allocations: 180.2 kB / 479.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.543e-05/0.08863, allocations: 184.3 kB / 479.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.64e-05/0.08871, allocations: 184.2 kB / 480.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.08925, allocations: 1.067 MB / 481.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.08931, allocations: 112.9 kB / 481.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.0894, allocations: 180.2 kB / 481.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.08948, allocations: 109 kB / 481.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.08957, allocations: 184.2 kB / 481.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.08962, allocations: 101 kB / 481.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.08966, allocations: 79.28 kB / 481.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08966, allocations: 0 / 481.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.08999, allocations: 4 kB / 481.9 MB, free: 10.66 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.0001235/0.09012, allocations: 166.5 kB / 482.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.09018, allocations: 7.938 kB / 482.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.09018, allocations: 0 / 482.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.09018, allocations: 224 / 482.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.09058, allocations: 471.6 kB / 482.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.09078, allocations: 160.1 kB / 482.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.09108, allocations: 0.6729 MB / 483.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.523e-05/0.09109, allocations: 0 / 483.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.09111, allocations: 7.438 kB / 483.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.09111, allocations: 7.938 kB / 483.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Templates: time 0.002188/0.0933, allocations: 189 kB / 483.6 MB, free: 8.934 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/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.536111156005063]