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.001436/0.001436, allocations: 112.5 kB / 17.09 MB, free: 5.961 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.001566/0.001566, allocations: 195.8 kB / 18.02 MB, free: 5.043 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.299/1.299, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06487/0.06487, allocations: 14.17 MB / 285.4 MB, free: 13.85 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.001432/0.001432, allocations: 71.06 kB / 397.8 MB, free: 43.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06899/0.07043, allocations: 50.13 MB / 447.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001498/0.07196, allocations: 484.8 kB / 448.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.07229, allocations: 119.6 kB / 448.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.07233, allocations: 0 / 448.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.07236, allocations: 0 / 448.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.07264, allocations: 23.92 kB / 448.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.07265, allocations: 0 / 448.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.344e-05/0.07269, allocations: 0 / 448.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.07274, allocations: 4.328 kB / 448.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.329e-05/0.07276, allocations: 11.94 kB / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.07287, allocations: 4 kB / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-06/0.07288, allocations: 0 / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-06/0.07289, allocations: 0 / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.0729, allocations: 7.984 kB / 448.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.104e-05/0.07292, allocations: 0 / 448.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.227e-05/0.07296, allocations: 0 / 448.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.07297, allocations: 4 kB / 448.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.07298, allocations: 3.938 kB / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.07298, allocations: 0 / 448.6 MB, free: 13.05 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.00025/0.07324, allocations: 315.6 kB / 448.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.07328, allocations: 8.031 kB / 448.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.07331, allocations: 0.9375 kB / 448.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.271e-05/0.0734, allocations: 168.3 kB / 449.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/0.07342, allocations: 4.312 kB / 449.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.07343, allocations: 384 / 449.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.274e-05/0.07353, allocations: 51.97 kB / 449.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.07355, allocations: 4.188 kB / 449.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.07356, allocations: 3.938 kB / 449.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.07357, allocations: 0 / 449.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.07359, allocations: 7.938 kB / 449.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.07392, allocations: 463.6 kB / 449.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.07402, allocations: 177.1 kB / 449.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.07406, allocations: 80.14 kB / 449.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.07409, allocations: 75.28 kB / 449.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.07414, allocations: 113.8 kB / 450 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.07415, allocations: 3.984 kB / 450 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.43e-05/0.07422, allocations: 25.7 kB / 450.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.07428, allocations: 130.7 kB / 450.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.07436, allocations: 101.8 kB / 450.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.07438, allocations: 25.7 kB / 450.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.07443, allocations: 84.05 kB / 450.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-06/0.07444, allocations: 0 / 450.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.07447, allocations: 13.72 kB / 450.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.07457, allocations: 310.8 kB / 450.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-06/0.07458, allocations: 4.125 kB / 450.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.0746, allocations: 17.72 kB / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.07463, allocations: 17.66 kB / 450.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.07464, allocations: 3.938 kB / 450.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.07475, allocations: 45.62 kB / 450.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.07477, allocations: 4 kB / 450.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.07478, allocations: 4.125 kB / 450.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.0748, allocations: 4 kB / 450.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.07485, allocations: 0 / 450.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.07486, allocations: 7.938 kB / 450.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.07488, allocations: 4 kB / 450.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.07489, allocations: 0 / 450.8 MB, free: 10.57 MB / 334.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 9.499e-05/0.07499, allocations: 197 kB / 451 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.07506, allocations: 101 kB / 451.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.07512, allocations: 112 kB / 451.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.053e-05/0.07517, allocations: 180.3 kB / 451.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.047e-05/0.07524, allocations: 184.2 kB / 451.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/0.07535, allocations: 180.2 kB / 451.8 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.0756, allocations: 397.2 kB / 452.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.07564, allocations: 112.9 kB / 452.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.07571, allocations: 105 kB / 452.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.539e-05/0.07577, allocations: 188.1 kB / 452.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.07584, allocations: 176.3 kB / 452.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.383e-05/0.07591, allocations: 184.3 kB / 452.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.916e-05/0.07597, allocations: 180.2 kB / 453.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.07639, allocations: 1.075 MB / 454.1 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.07647, allocations: 186 kB / 454.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.07655, allocations: 188.2 kB / 454.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.07663, allocations: 104.9 kB / 454.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.0767, allocations: 184.3 kB / 454.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.07674, allocations: 101 kB / 454.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.02e-05/0.07678, allocations: 79.27 kB / 455 MB, free: 6.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07678, allocations: 0 / 455 MB, free: 6.156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.07712, allocations: 4 kB / 455 MB, free: 6.152 MB / 334.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 9.39e-05/0.07722, allocations: 170.6 kB / 455.1 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.931e-05/0.07728, allocations: 4 kB / 455.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.07729, allocations: 4 kB / 455.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.07729, allocations: 0 / 455.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.07762, allocations: 459.8 kB / 455.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000188/0.07782, allocations: 185.8 kB / 455.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.07804, allocations: 0.6729 MB / 456.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.07806, allocations: 7.438 kB / 456.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.07807, allocations: 0 / 456.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Templates: time 0.001306/0.07938, allocations: 347.8 kB / 456.8 MB, free: 4.25 MB / 334.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=480 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches