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.001382/0.001382, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001148/0.001148, allocations: 156.5 kB / 24.55 MB, free: 12 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 1.047/1.047, allocations: 177 MB / 204.8 MB, free: 5.195 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.317/0.317, allocations: 34.86 MB / 296.3 MB, free: 0.4961 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.853e-06/1.853e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.398e-05, allocations: 5.125 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002344/0.002378, allocations: 1.251 MB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.003051, allocations: 427.8 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.369e-05/0.003065, allocations: 0 / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.003084, allocations: 0 / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.018e-05/0.003115, allocations: 0 / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.003633, allocations: 75.67 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.273e-05/0.003676, allocations: 0 / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.00372, allocations: 11.98 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.003757, allocations: 0 / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.004012, allocations: 35.97 kB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.004027, allocations: 0 / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.004103, allocations: 4 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.004114, allocations: 3.938 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.004135, allocations: 7.969 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/0.004231, allocations: 15.94 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004234, allocations: 0 / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.004235, allocations: 0 / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.00424, allocations: 4 kB / 380.6 MB, free: 252 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.0003148/0.004555, allocations: 344.4 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.004603, allocations: 8.031 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.004767, allocations: 8.938 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.027e-05/0.004838, allocations: 112.6 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.004851, allocations: 384 / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.004864, allocations: 384 / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.004985, allocations: 59.95 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.004996, allocations: 192 / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.005006, allocations: 384 / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005013, allocations: 4.375 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.645e-05/0.005029, allocations: 7.875 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.005333, allocations: 470.2 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.005707, allocations: 265.5 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.00574, allocations: 126.9 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.005769, allocations: 123.2 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.005816, allocations: 160.6 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.005817, allocations: 3.938 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.758e-05/0.005874, allocations: 29.64 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.005927, allocations: 170.6 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.00602, allocations: 157.9 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.00603, allocations: 25.7 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.006078, allocations: 131.2 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.006081, allocations: 0 / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.006109, allocations: 15.38 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.006244, allocations: 0.4923 MB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-06/0.006254, allocations: 0 / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-06/0.006259, allocations: 0 / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.006288, allocations: 15.62 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00629, allocations: 4.188 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.503e-05/0.006385, allocations: 29.7 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.006401, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.006407, allocations: 3.938 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.006426, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.006476, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.006482, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.006494, allocations: 7.938 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.006498, allocations: 3.938 kB / 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 0.0001002/0.006599, allocations: 279.8 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.006664, allocations: 156.9 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.006718, allocations: 151.8 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.656e-05/0.006784, allocations: 272 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.217e-05/0.006846, allocations: 264.1 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.249e-05/0.006909, allocations: 268.1 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.007084, allocations: 499.8 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-05/0.007119, allocations: 144.9 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.007156, allocations: 152.8 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-05/0.007217, allocations: 268.1 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.00728, allocations: 264.1 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.053e-05/0.00734, allocations: 276 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.996e-05/0.0074, allocations: 272.1 kB / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.007538, allocations: 448 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.007584, allocations: 148.9 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.007655, allocations: 268 kB / 387.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.007712, allocations: 148.8 kB / 387.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.007783, allocations: 276.3 kB / 387.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.00782, allocations: 148.9 kB / 387.9 MB, free: 8.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.912e-05/0.007859, allocations: 119.2 kB / 388 MB, free: 8.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007859, allocations: 0 / 388 MB, free: 8.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.008, allocations: 4 kB / 388 MB, free: 8.367 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 0.0001049/0.008105, allocations: 214.5 kB / 388.3 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.558e-05/0.008181, allocations: 19.66 kB / 388.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008183, allocations: 0 / 388.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.008184, allocations: 0 / 388.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.008494, allocations: 0.7062 MB / 389 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.009095, allocations: 207.1 kB / 389.2 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.009131, allocations: 55.36 kB / 389.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.00915, allocations: 0 / 389.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.009171, allocations: 12.56 kB / 389.2 MB, free: 7.094 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.009171, allocations: 0 / 389.2 MB, free: 7.094 MB / 362.7 MB Notification: Performance of Templates: time 0.001714/0.01089, allocations: 188.9 kB / 389.4 MB, free: 6.91 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: 3.541247008368373]