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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 101.1 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 194.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06014/0.06014, allocations: 14.16 MB / 284.3 MB, free: 7.246 MB / 238.1 MB 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.001347/0.001347, allocations: 67.89 kB / 345.2 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08919, allocations: 50.13 MB / 395.4 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001806/0.09104, allocations: 0.5431 MB / 395.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003439/0.09141, allocations: 119.6 kB / 396 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.09145, allocations: 0 / 396 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.09147, allocations: 0 / 396 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.09177, allocations: 27.91 kB / 396 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.218e-06/0.09178, allocations: 0 / 396 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.221e-05/0.09182, allocations: 4 kB / 396 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.09187, allocations: 3.984 kB / 396 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.252e-05/0.09188, allocations: 0 / 396 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.09202, allocations: 16 kB / 396.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-06/0.09203, allocations: 0 / 396.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-06/0.09204, allocations: 0 / 396.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.09205, allocations: 3.984 kB / 396.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.09207, allocations: 3.938 kB / 396.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.35e-05/0.09211, allocations: 0 / 396.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.09212, allocations: 4 kB / 396.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09212, allocations: 0 / 396.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.09213, allocations: 0 / 396.1 MB, free: 0.8594 MB / 286.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.0002899/0.09243, allocations: 315.5 kB / 396.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.09247, allocations: 12.06 kB / 396.4 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.09251, allocations: 0.9375 kB / 396.4 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.09262, allocations: 160.4 kB / 396.6 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.09263, allocations: 4.312 kB / 396.6 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.09265, allocations: 384 / 396.6 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.09276, allocations: 51.91 kB / 396.6 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.09278, allocations: 192 / 396.6 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.0928, allocations: 7.938 kB / 396.6 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.09281, allocations: 4 kB / 396.6 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.09284, allocations: 0 / 396.6 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.09325, allocations: 463.6 kB / 397.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/0.09335, allocations: 177.1 kB / 397.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.0934, allocations: 84.14 kB / 397.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.09344, allocations: 75.28 kB / 397.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.09349, allocations: 105.8 kB / 397.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.0935, allocations: 0 / 397.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.177e-05/0.09357, allocations: 29.64 kB / 397.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.09364, allocations: 130.7 kB / 397.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.09375, allocations: 105.7 kB / 397.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.09377, allocations: 29.69 kB / 397.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.09382, allocations: 84.36 kB / 397.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.09383, allocations: 4 kB / 397.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.09386, allocations: 13.62 kB / 397.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.09401, allocations: 310.8 kB / 398.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.09403, allocations: 4 kB / 398.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.09405, allocations: 17.84 kB / 398.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.09409, allocations: 17.66 kB / 398.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.0941, allocations: 3.938 kB / 398.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001011/0.0942, allocations: 41.69 kB / 398.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.09423, allocations: 8 kB / 398.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.09424, allocations: 128 / 398.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.09426, allocations: 7.938 kB / 398.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.09432, allocations: 4 kB / 398.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.09433, allocations: 4 kB / 398.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.09435, allocations: 0 / 398.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.09436, allocations: 4 kB / 398.3 MB, free: 14.38 MB / 302.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.0001107/0.09448, allocations: 193 kB / 398.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.09454, allocations: 101 kB / 398.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.0946, allocations: 112 kB / 398.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.696e-05/0.09468, allocations: 184.3 kB / 398.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.704e-05/0.09474, allocations: 176.3 kB / 399.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.684e-05/0.09481, allocations: 184.2 kB / 399.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.09506, allocations: 401.2 kB / 399.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/0.09512, allocations: 104.9 kB / 399.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.09516, allocations: 109 kB / 399.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.68e-05/0.09526, allocations: 184.2 kB / 400 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.09535, allocations: 188.2 kB / 400.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-05/0.09542, allocations: 176.3 kB / 400.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.728e-05/0.0955, allocations: 180.2 kB / 400.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.09605, allocations: 1.075 MB / 401.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.09615, allocations: 186 kB / 401.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.09624, allocations: 188.2 kB / 402 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.09633, allocations: 101 kB / 402.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.09644, allocations: 184.2 kB / 402.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.09649, allocations: 104.9 kB / 402.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.747e-05/0.09653, allocations: 83.27 kB / 402.5 MB, free: 9.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09653, allocations: 0 / 402.5 MB, free: 9.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.09689, allocations: 0 / 402.5 MB, free: 9.957 MB / 302.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.0001129/0.09702, allocations: 174.6 kB / 402.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.09709, allocations: 7.938 kB / 402.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.0971, allocations: 0 / 402.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.09711, allocations: 0 / 402.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.0975, allocations: 455.7 kB / 403.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.09772, allocations: 156.5 kB / 403.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.09798, allocations: 0.6729 MB / 403.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.479e-05/0.098, allocations: 0 / 403.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.09802, allocations: 7.438 kB / 403.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09803, allocations: 4 kB / 403.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Templates: time 0.00176/0.09979, allocations: 176.8 kB / 404.1 MB, free: 8.258 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches