Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_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.001477/0.001477, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001512/0.001512, allocations: 185.5 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07466/0.07466, allocations: 16.77 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.88 kB / 427.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.09434, allocations: 53.56 MB / 480.8 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001681/0.09606, allocations: 488.2 kB / 481.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003265/0.09641, allocations: 119.6 kB / 481.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.09645, allocations: 0 / 481.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.09648, allocations: 0 / 481.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.09677, allocations: 27.86 kB / 481.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.09678, allocations: 0 / 481.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.588e-05/0.09682, allocations: 7.984 kB / 481.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.09687, allocations: 4.344 kB / 481.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.196e-05/0.09689, allocations: 0 / 481.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.09701, allocations: 11.98 kB / 481.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-06/0.09702, allocations: 0 / 481.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-06/0.09702, allocations: 0 / 481.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-06/0.09704, allocations: 4 kB / 481.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.306e-05/0.09705, allocations: 3.938 kB / 481.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.822e-05/0.0971, allocations: 3.984 kB / 481.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.09711, allocations: 0 / 481.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09711, allocations: 0 / 481.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.09712, allocations: 4 kB / 481.5 MB, free: 4.344 MB / 350.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.0002619/0.09739, allocations: 311.5 kB / 481.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.09744, allocations: 12.06 kB / 481.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.09747, allocations: 0.9375 kB / 481.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.107e-05/0.09756, allocations: 160.4 kB / 481.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.09759, allocations: 12.31 kB / 481.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.0976, allocations: 384 / 481.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.09771, allocations: 47.92 kB / 482 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.09773, allocations: 192 / 482 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.09775, allocations: 3.938 kB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.09776, allocations: 0 / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.545e-05/0.09779, allocations: 7.984 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.09821, allocations: 471.5 kB / 482.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.09831, allocations: 169.1 kB / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.09835, allocations: 84.2 kB / 482.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.0984, allocations: 79.27 kB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.09845, allocations: 109.8 kB / 482.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.09845, allocations: 0 / 482.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.321e-05/0.09854, allocations: 29.64 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.09859, allocations: 51.41 kB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.09869, allocations: 97.86 kB / 483.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.09871, allocations: 25.7 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.09876, allocations: 84.09 kB / 483.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.09877, allocations: 4.125 kB / 483.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.09882, allocations: 17.7 kB / 483.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.09895, allocations: 318.8 kB / 483.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.09897, allocations: 4 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.09899, allocations: 9.719 kB / 483.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.09903, allocations: 21.72 kB / 483.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.09904, allocations: 0 / 483.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.09915, allocations: 45.62 kB / 483.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.09917, allocations: 8 kB / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.09918, allocations: 3.984 kB / 483.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.0992, allocations: 0 / 483.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.09926, allocations: 7.938 kB / 483.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.09927, allocations: 0 / 483.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.09928, allocations: 0 / 483.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.09929, allocations: 0 / 483.6 MB, free: 1.941 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 9.691e-05/0.0994, allocations: 193.1 kB / 483.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.09947, allocations: 101 kB / 483.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.09952, allocations: 116 kB / 484 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.257e-05/0.0996, allocations: 180.3 kB / 484.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-05/0.09964, allocations: 105 kB / 484.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.09972, allocations: 190 kB / 484.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.0998, allocations: 180.2 kB / 484.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.09989, allocations: 108.9 kB / 484.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.09996, allocations: 184.2 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.804e-05/0.1001, allocations: 255.5 kB / 485.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001829/0.1002, allocations: 391.1 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.589e-05/0.1003, allocations: 104.9 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.1004, allocations: 79.28 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Backend: time 7.11e-07/0.1004, allocations: 0 / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1007, allocations: 70.41 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of SimCode: time 0.000478/0.1012, allocations: 0.8312 MB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Templates: time 0.001885/0.1031, allocations: 189.3 kB / 486.8 MB, free: 14.53 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches