Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002372/0.002372, allocations: 209 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 46.95 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 72.12 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2805, allocations: 66.04 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002254/0.2827, allocations: 1.217 MB / 0.5623 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000779/0.2835, allocations: 404 kB / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.047e-05/0.2835, allocations: 0 / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.2835, allocations: 4 kB / 0.5627 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.137e-05/0.2835, allocations: 0 / 0.5627 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.284, allocations: 71.73 kB / 0.5627 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.477e-05/0.284, allocations: 0 / 0.5627 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.2841, allocations: 4 kB / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.39e-05/0.2841, allocations: 0 / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.2843, allocations: 43.89 kB / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.2843, allocations: 0 / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.2844, allocations: 15.98 kB / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.2844, allocations: 0 / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.221e-05/0.2844, allocations: 0 / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.068e-05/0.2845, allocations: 11.78 kB / 0.5628 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2845, allocations: 4 kB / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2845, allocations: 0 / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.2845, allocations: 0 / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002785/0.2847, allocations: 242.5 kB / 0.563 GB, free: 2.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2848, allocations: 8.031 kB / 0.563 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.2849, allocations: 8.938 kB / 0.563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.285, allocations: 110.4 kB / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.285, allocations: 8.375 kB / 0.5632 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-06/0.285, allocations: 384 / 0.5632 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.2851, allocations: 55.95 kB / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2851, allocations: 192 / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2851, allocations: 7.938 kB / 0.5632 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2851, allocations: 0 / 0.5632 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.38e-05/0.2852, allocations: 0 / 0.5632 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2855, allocations: 327.2 kB / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.2856, allocations: 177.1 kB / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.2856, allocations: 80.14 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.2857, allocations: 87.2 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.2857, allocations: 109.8 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2857, allocations: 0 / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.898e-05/0.2858, allocations: 37.59 kB / 0.564 GB, free: 1.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.2859, allocations: 130.6 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.286, allocations: 89.86 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.286, allocations: 25.7 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.286, allocations: 91.8 kB / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.286, allocations: 0 / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.286, allocations: 9.719 kB / 0.5643 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2862, allocations: 319 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.2862, allocations: 4 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-06/0.2862, allocations: 0 / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.2862, allocations: 8.891 kB / 0.5647 GB, free: 336 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2862, allocations: 0 / 0.5647 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.956e-05/0.2863, allocations: 45.58 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2863, allocations: 4 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2863, allocations: 0 / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2863, allocations: 0 / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.2864, allocations: 4 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.2864, allocations: 4.094 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-06/0.2864, allocations: 0 / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.2864, allocations: 0 / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.0001091/0.2865, allocations: 189.1 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.2866, allocations: 104.9 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.2867, allocations: 111.7 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.052e-05/0.2867, allocations: 176.3 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.548e-05/0.2868, allocations: 184.3 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.401e-05/0.2869, allocations: 184.2 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.2871, allocations: 349.9 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/0.2872, allocations: 108.9 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.2872, allocations: 104.9 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.821e-05/0.2873, allocations: 188.2 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.2874, allocations: 184.2 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.024e-05/0.2875, allocations: 176.3 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-05/0.2876, allocations: 188.2 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.2877, allocations: 308 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.2878, allocations: 109 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.2879, allocations: 184.3 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.288, allocations: 108.9 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.2881, allocations: 176.3 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.2881, allocations: 116.9 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.2881, allocations: 79.28 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2881, allocations: 0 / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.2884, allocations: 0 / 0.5679 GB, free: 12.82 MB / 414.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.000157/0.2885, allocations: 170.5 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.26e-05/0.2886, allocations: 4 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2886, allocations: 0 / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.2886, allocations: 0 / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.289, allocations: 459.8 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.2892, allocations: 164.9 kB / 0.5686 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.2893, allocations: 51.36 kB / 0.5687 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.362e-05/0.2893, allocations: 0 / 0.5687 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.2893, allocations: 7.438 kB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2893, allocations: 0 / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of Templates: time 0.001985/0.2913, allocations: 180.8 kB / 0.5689 GB, free: 11.74 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.939515330363065]