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.001423/0.001423, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001565/0.001565, allocations: 152.9 kB / 24.26 MB, free: 148 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.511/1.511, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.344/0.344, allocations: 34.24 MB / 295.2 MB, free: 0.6719 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 2.805e-06/2.805e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.005e-05/5.286e-05, allocations: 6.312 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.003858/0.003911, allocations: 1.224 MB / 378.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.004981, allocations: 415.9 kB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.183e-05/0.004993, allocations: 0 / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.005016, allocations: 4 kB / 378.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.455e-05/0.00505, allocations: 0 / 378.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.005695, allocations: 75.66 kB / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.005739, allocations: 0 / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.005785, allocations: 4 kB / 378.9 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.139e-05/0.005816, allocations: 0 / 378.9 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.006093, allocations: 39.95 kB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.006105, allocations: 0 / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.006171, allocations: 11.98 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.006181, allocations: 0 / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.006204, allocations: 0 / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.31e-05/0.006287, allocations: 8 kB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.00629, allocations: 4 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.006292, allocations: 0 / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.006297, allocations: 0 / 379 MB, free: 1.109 MB / 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.0003529/0.00665, allocations: 242.4 kB / 379.2 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.006691, allocations: 8.031 kB / 379.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.006885, allocations: 4.938 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.006999, allocations: 101.8 kB / 379.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.007015, allocations: 16.25 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.007026, allocations: 384 / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.007189, allocations: 59.95 kB / 379.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.007201, allocations: 192 / 379.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.007218, allocations: 384 / 379.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.007226, allocations: 384 / 379.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.86e-05/0.007254, allocations: 3.938 kB / 379.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.007713, allocations: 327.2 kB / 379.7 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.007878, allocations: 177.1 kB / 379.9 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.00796, allocations: 80.14 kB / 380 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.008009, allocations: 79.28 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.483e-05/0.008094, allocations: 109.8 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.008095, allocations: 4 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.945e-05/0.008194, allocations: 29.64 kB / 380.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.008307, allocations: 130.6 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.008437, allocations: 89.86 kB / 380.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.008459, allocations: 29.7 kB / 380.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.008533, allocations: 84.09 kB / 380.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.008537, allocations: 0 / 380.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.008587, allocations: 17.7 kB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.008804, allocations: 319 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.008819, allocations: 0 / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.008825, allocations: 0 / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.008856, allocations: 12.86 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.008859, allocations: 0 / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001333/0.008992, allocations: 33.64 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.00901, allocations: 4 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.009018, allocations: 3.938 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.00904, allocations: 4 kB / 380.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.009088, allocations: 96 / 380.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.009095, allocations: 4 kB / 380.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.009111, allocations: 3.984 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.009118, allocations: 0 / 380.9 MB, free: 14.98 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.0001604/0.009278, allocations: 189.1 kB / 381.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.009374, allocations: 105 kB / 381.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.656e-05/0.00945, allocations: 111.9 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/0.009564, allocations: 188.2 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001076/0.009671, allocations: 180.2 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/0.009785, allocations: 184.2 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.01007, allocations: 348.9 kB / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.821e-05/0.01014, allocations: 113 kB / 382.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.01021, allocations: 109 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.01032, allocations: 180.2 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.01043, allocations: 176.3 kB / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001199/0.01055, allocations: 188.2 kB / 382.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001025/0.01065, allocations: 180.2 kB / 383.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.01089, allocations: 303.8 kB / 383.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.01096, allocations: 105 kB / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.01108, allocations: 180.3 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.01119, allocations: 108.9 kB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.01132, allocations: 188.2 kB / 384 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.01138, allocations: 104.9 kB / 384.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.509e-05/0.01144, allocations: 75.28 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01144, allocations: 0 / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.01171, allocations: 4 kB / 384.2 MB, free: 11.55 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.0001844/0.0119, allocations: 166.5 kB / 384.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.046e-05/0.01197, allocations: 4 kB / 384.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01197, allocations: 0 / 384.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.01197, allocations: 0 / 384.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.0125, allocations: 463.8 kB / 384.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.01288, allocations: 165.4 kB / 384.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.01295, allocations: 55.36 kB / 385 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.613e-05/0.01297, allocations: 0 / 385 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.013, allocations: 8.5 kB / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.013, allocations: 0 / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.002887/0.01588, allocations: 196.7 kB / 385.2 MB, free: 10.45 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.606895797071047]