Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001314/0.001314, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001342/0.001342, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.89/0.89, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.207e-05, allocations: 4.844 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001452/0.001474, allocations: 1.247 MB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005693/0.002043, allocations: 423.9 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.207e-05/0.002055, allocations: 0 / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.002076, allocations: 0 / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.735e-05/0.002103, allocations: 3.938 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.002561, allocations: 79.67 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.053e-05/0.002602, allocations: 0 / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.002636, allocations: 8 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.002659, allocations: 0 / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.002834, allocations: 35.95 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.002843, allocations: 0 / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.002898, allocations: 11.94 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.002906, allocations: 0 / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.00292, allocations: 4 kB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.382e-05/0.002994, allocations: 15.92 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.002996, allocations: 0 / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.002997, allocations: 0 / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.003001, allocations: 0 / 380.6 MB, free: 260 kB / 346.7 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.0002469/0.003248, allocations: 340.4 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.003282, allocations: 12.02 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.003391, allocations: 4.938 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.873e-05/0.00345, allocations: 104.6 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.00346, allocations: 4.375 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.003467, allocations: 384 / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/0.003549, allocations: 63.91 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003556, allocations: 192 / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.003563, allocations: 384 / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.003569, allocations: 384 / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.485e-05/0.003584, allocations: 11.92 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.003839, allocations: 466.2 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.00392, allocations: 269.5 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.003952, allocations: 130.8 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.003976, allocations: 119.2 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.004019, allocations: 160.6 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.00402, allocations: 7.984 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.977e-05/0.00407, allocations: 29.64 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.00413, allocations: 170.6 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.0042, allocations: 149.9 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.004207, allocations: 29.7 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.004247, allocations: 135.2 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.00425, allocations: 0 / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.004272, allocations: 15.38 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.004371, allocations: 0.4922 MB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-06/0.004378, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.004383, allocations: 8.109 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.004406, allocations: 11.69 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004408, allocations: 4 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.994e-05/0.004478, allocations: 33.7 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.00449, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.004495, allocations: 3.938 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.004506, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.004542, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.004548, allocations: 3.938 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.004557, allocations: 8.031 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.004561, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 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 7.858e-05/0.00464, allocations: 279.8 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.004679, allocations: 144.9 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.004718, allocations: 151.8 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-05/0.004774, allocations: 272 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-05/0.004828, allocations: 268.1 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.564e-05/0.004883, allocations: 272 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.005027, allocations: 491.9 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/0.005069, allocations: 144.9 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.005107, allocations: 156.8 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-05/0.005165, allocations: 264.1 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.005224, allocations: 276 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.443e-05/0.005278, allocations: 272 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.322e-05/0.005331, allocations: 268 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.005444, allocations: 444 kB / 387 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.005485, allocations: 156.8 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.005547, allocations: 264.1 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.005598, allocations: 152.8 kB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.005654, allocations: 268.4 kB / 387.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.005682, allocations: 148.9 kB / 387.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.005712, allocations: 123.2 kB / 388 MB, free: 8.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005713, allocations: 0 / 388 MB, free: 8.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.005846, allocations: 4 kB / 388 MB, free: 8.375 MB / 362.7 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 8.642e-05/0.005932, allocations: 214.4 kB / 388.3 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.788e-05/0.006, allocations: 23.66 kB / 388.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.006001, allocations: 0 / 388.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.006003, allocations: 0 / 388.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.006262, allocations: 0.7023 MB / 389 MB, free: 7.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.00646, allocations: 215.2 kB / 389.2 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.82e-05/0.006488, allocations: 51.36 kB / 389.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.006504, allocations: 4 kB / 389.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.006519, allocations: 12.44 kB / 389.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00652, allocations: 0 / 389.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of Templates: time 0.001449/0.007969, allocations: 192.9 kB / 389.4 MB, free: 6.906 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8265079320408404]