Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.3 MB / 258 MB, free: 8.184 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2269/0.2269, allocations: 46.94 MB / 361.4 MB, free: 4.379 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 83.86 kB / 0.4972 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3421, allocations: 66.04 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002301/0.3444, allocations: 1.226 MB / 0.5628 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.3452, allocations: 427.9 kB / 0.5633 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.109e-05/0.3453, allocations: 0 / 0.5633 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.3453, allocations: 0 / 0.5633 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.266e-05/0.3453, allocations: 0 / 0.5633 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.3458, allocations: 71.73 kB / 0.5633 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.529e-05/0.3458, allocations: 0 / 0.5633 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.3458, allocations: 4 kB / 0.5633 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.3459, allocations: 7.984 kB / 0.5633 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.3461, allocations: 39.91 kB / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.3461, allocations: 0 / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.414e-05/0.3461, allocations: 4 kB / 0.5634 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.3461, allocations: 7.969 kB / 0.5634 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.3462, allocations: 4 kB / 0.5634 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.072e-05/0.3462, allocations: 7.797 kB / 0.5634 GB, free: 2.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3462, allocations: 4 kB / 0.5634 GB, free: 2.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3462, allocations: 0 / 0.5634 GB, free: 2.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3463, allocations: 0 / 0.5634 GB, free: 2.727 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.0002936/0.3465, allocations: 246.5 kB / 0.5636 GB, free: 2.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3466, allocations: 8.031 kB / 0.5636 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.3467, allocations: 4.938 kB / 0.5636 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.3468, allocations: 102.5 kB / 0.5637 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3468, allocations: 384 / 0.5637 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.3468, allocations: 4.375 kB / 0.5637 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.3469, allocations: 30.2 kB / 0.5638 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3469, allocations: 4.188 kB / 0.5638 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3469, allocations: 11.92 kB / 0.5638 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.3469, allocations: 0 / 0.5638 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.578e-05/0.3469, allocations: 4 kB / 0.5638 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.3473, allocations: 346.6 kB / 0.5641 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.3474, allocations: 173 kB / 0.5643 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.3474, allocations: 88.14 kB / 0.5644 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3476, allocations: 87.19 kB / 0.5645 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.3476, allocations: 109.8 kB / 0.5646 GB, free: 1.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3476, allocations: 0 / 0.5646 GB, free: 1.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.039e-05/0.3477, allocations: 33.66 kB / 0.5646 GB, free: 1.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.3477, allocations: 126.7 kB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.3478, allocations: 93.86 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3478, allocations: 25.7 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.3479, allocations: 83.8 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.3479, allocations: 4 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3479, allocations: 13.72 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3481, allocations: 318.8 kB / 0.5652 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.3481, allocations: 0 / 0.5652 GB, free: 0.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.3481, allocations: 4 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.3481, allocations: 13.08 kB / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3481, allocations: 0 / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.157e-05/0.3482, allocations: 33.64 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3482, allocations: 8 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.3482, allocations: 0 / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3482, allocations: 0 / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.3483, allocations: 0 / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3483, allocations: 0 / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.3483, allocations: 7.938 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3483, allocations: 0 / 0.5653 GB, free: 0.5938 MB / 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.0001313/0.3485, allocations: 197.1 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3486, allocations: 101 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.3487, allocations: 111.8 kB / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/0.3488, allocations: 180.2 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.194e-05/0.3488, allocations: 176.3 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-05/0.3489, allocations: 192.2 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.3492, allocations: 373.3 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.3492, allocations: 101 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.3493, allocations: 108.9 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.777e-05/0.3493, allocations: 180.3 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.3494, allocations: 188.2 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-05/0.3495, allocations: 176.3 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.798e-05/0.3496, allocations: 176.3 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3498, allocations: 315.9 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3498, allocations: 113 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.3499, allocations: 184.3 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.35, allocations: 105 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.3501, allocations: 184.2 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.3501, allocations: 105 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.942e-05/0.3502, allocations: 75.28 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3502, allocations: 3.938 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.3504, allocations: 8.094 kB / 0.5685 GB, free: 13.11 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.0001499/0.3506, allocations: 171.1 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.83e-05/0.3506, allocations: 3.938 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3506, allocations: 0 / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-06/0.3506, allocations: 4 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.351, allocations: 462 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.3513, allocations: 157 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3517, allocations: 0.669 MB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.241e-05/0.3517, allocations: 0 / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.3517, allocations: 7.438 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3517, allocations: 0 / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.00241/0.3541, allocations: 172.9 kB / 0.5701 GB, free: 11.42 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.878292807377875]