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.001955/0.001955, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002069/0.002069, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.337/0.337, allocations: 34.26 MB / 295.3 MB, free: 0.7031 MB / 266.7 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 1.232e-06/1.232e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.61e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002485/0.002511, allocations: 1.223 MB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.003385, allocations: 427.8 kB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.003396, allocations: 0 / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.003408, allocations: 0 / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.202e-05/0.00344, allocations: 0 / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.003937, allocations: 75.66 kB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.696e-05/0.003974, allocations: 0 / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.004005, allocations: 7.938 kB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.004033, allocations: 0 / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.004258, allocations: 39.95 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.004268, allocations: 4 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.004321, allocations: 8 kB / 379.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.004329, allocations: 0 / 379.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.291e-05/0.004341, allocations: 0 / 379.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.965e-05/0.004411, allocations: 11.98 kB / 379.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.004414, allocations: 0 / 379.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004415, allocations: 0 / 379.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.004419, allocations: 0 / 379.1 MB, free: 1.176 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.0003816/0.0048, allocations: 344.4 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004838, allocations: 16.02 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.004967, allocations: 4.938 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.005279, allocations: 108.6 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.00529, allocations: 384 / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.005297, allocations: 384 / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.005403, allocations: 59.91 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.00541, allocations: 192 / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.005418, allocations: 384 / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.005424, allocations: 4.375 kB / 379.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.005448, allocations: 11.86 kB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.005874, allocations: 470.2 kB / 380.1 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.006055, allocations: 265.4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.00613, allocations: 134.9 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/0.006196, allocations: 119.2 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.182e-05/0.006288, allocations: 160.5 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.006289, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.416e-05/0.006373, allocations: 33.62 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.006473, allocations: 170.6 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.006604, allocations: 153.9 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.006621, allocations: 25.7 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.006707, allocations: 134.8 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.006709, allocations: 128 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.006748, allocations: 23.38 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.007002, allocations: 492.1 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.007009, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.007013, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.007043, allocations: 19.61 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007045, allocations: 0 / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.789e-05/0.007142, allocations: 33.7 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.007157, allocations: 8 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.007165, allocations: 7.922 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.007177, allocations: 4.094 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.408e-05/0.007211, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.007215, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-06/0.007225, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.007232, allocations: 4 kB / 381.8 MB, free: 14.21 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.0001732/0.007405, allocations: 271.8 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.007508, allocations: 152.8 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.007597, allocations: 155.8 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001397/0.007737, allocations: 268 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001397/0.007877, allocations: 268.1 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001418/0.008018, allocations: 276 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.008355, allocations: 495.8 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.006e-05/0.008435, allocations: 148.9 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.008514, allocations: 148.8 kB / 383.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.008656, allocations: 264.1 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.008801, allocations: 276.1 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001457/0.008947, allocations: 272 kB / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001399/0.009087, allocations: 264.1 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.009365, allocations: 444 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.009457, allocations: 160.8 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.009602, allocations: 264.1 kB / 385.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.009721, allocations: 156.8 kB / 386 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.009868, allocations: 272.3 kB / 386.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/0.009948, allocations: 144.9 kB / 386.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.908e-05/0.01003, allocations: 127.2 kB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01003, allocations: 0 / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.01024, allocations: 0 / 386.5 MB, free: 9.289 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.0001779/0.01042, allocations: 214.4 kB / 386.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.422e-05/0.0105, allocations: 19.66 kB / 386.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01051, allocations: 4.156 kB / 386.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.01051, allocations: 0 / 386.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.01107, allocations: 0.7023 MB / 387.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.01137, allocations: 211 kB / 387.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.01143, allocations: 55.34 kB / 387.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.008e-05/0.01145, allocations: 4 kB / 387.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.01147, allocations: 8.5 kB / 387.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01147, allocations: 0 / 387.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of Templates: time 0.002439/0.01391, allocations: 192.9 kB / 387.9 MB, free: 7.824 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] 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.802473939023912]