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.001359/0.001359, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00151/0.00151, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.458/1.458, 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.2868/0.2868, allocations: 46.96 MB / 360.9 MB, free: 4.004 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.00206/0.00206, allocations: 67.89 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2929, allocations: 66.04 MB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002411/0.2953, allocations: 1.206 MB / 0.5623 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008548/0.2961, allocations: 411.9 kB / 0.5627 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.058e-05/0.2961, allocations: 0 / 0.5627 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.2962, allocations: 0 / 0.5627 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.202e-05/0.2962, allocations: 0 / 0.5627 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.2967, allocations: 79.73 kB / 0.5627 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.842e-05/0.2967, allocations: 4 kB / 0.5627 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.2968, allocations: 0 / 0.5627 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.2968, allocations: 4 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.297, allocations: 39.89 kB / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.297, allocations: 0 / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.662e-05/0.297, allocations: 4 kB / 0.5628 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.2971, allocations: 0 / 0.5628 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.2971, allocations: 8 kB / 0.5628 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.095e-05/0.2971, allocations: 15.72 kB / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2971, allocations: 0 / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2972, allocations: 0 / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2972, allocations: 0 / 0.5628 GB, free: 2.367 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.0002768/0.2974, allocations: 238.5 kB / 0.563 GB, free: 2.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2975, allocations: 12.03 kB / 0.563 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.2976, allocations: 8.922 kB / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.2977, allocations: 106.5 kB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2977, allocations: 384 / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.2977, allocations: 384 / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2978, allocations: 67.91 kB / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.2978, allocations: 192 / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2978, allocations: 3.938 kB / 0.5632 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2978, allocations: 0 / 0.5632 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.521e-05/0.2979, allocations: 0 / 0.5632 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.2982, allocations: 335.2 kB / 0.5635 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.2983, allocations: 165.1 kB / 0.5637 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.2984, allocations: 84.08 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.2984, allocations: 79.22 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/0.2985, allocations: 113.8 kB / 0.564 GB, free: 1.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2985, allocations: 4 kB / 0.564 GB, free: 1.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.993e-05/0.2985, allocations: 33.64 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.2986, allocations: 126.7 kB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.2987, allocations: 101.8 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2987, allocations: 25.7 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.2987, allocations: 83.8 kB / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.2987, allocations: 0 / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.2988, allocations: 13.72 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2989, allocations: 310.8 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-06/0.2989, allocations: 3.938 kB / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-06/0.2989, allocations: 4.125 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.2989, allocations: 16.89 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2989, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.119e-05/0.299, allocations: 37.62 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.299, allocations: 7.938 kB / 0.5647 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.299, allocations: 4 kB / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2991, allocations: 0 / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.2991, allocations: 3.938 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2991, allocations: 0 / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.2991, allocations: 4.094 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.2992, allocations: 7.938 kB / 0.5647 GB, free: 228 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.0001017/0.2993, allocations: 181.1 kB / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.2993, allocations: 104.9 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.2994, allocations: 115.8 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.888e-05/0.2995, allocations: 184.2 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.487e-05/0.2996, allocations: 176.3 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.963e-05/0.2996, allocations: 184.2 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.2999, allocations: 349.9 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/0.2999, allocations: 105 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.3, allocations: 112.9 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.843e-05/0.3, allocations: 180.2 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.3001, allocations: 184.2 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.142e-05/0.3002, allocations: 176.3 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-05/0.3003, allocations: 180.2 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.3004, allocations: 304 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.3005, allocations: 116.9 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.3006, allocations: 184.2 kB / 0.5674 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.3006, allocations: 105 kB / 0.5675 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.3007, allocations: 184.2 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.3008, allocations: 101 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.3008, allocations: 83.28 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000213/0.301, allocations: 0 / 0.5679 GB, free: 12.8 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.0001181/0.3011, allocations: 174.5 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.143e-05/0.3012, allocations: 3.938 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3012, allocations: 0 / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.3012, allocations: 0 / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3016, allocations: 459.7 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.3019, allocations: 159.9 kB / 0.5686 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.078e-05/0.3019, allocations: 55.36 kB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.455e-05/0.3019, allocations: 3.938 kB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.3019, allocations: 11.42 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3019, allocations: 0 / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.002244/0.3042, allocations: 164.8 kB / 0.5689 GB, free: 11.72 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.868089348077774]