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.001353/0.001353, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001422/0.001422, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 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.2294/0.2294, allocations: 46.92 MB / 357.1 MB, free: 10.33 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+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 59.91 kB / 0.4909 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1249, allocations: 66.01 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002405/0.1273, allocations: 1.196 MB / 0.5565 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008676/0.1281, allocations: 430.2 kB / 0.557 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.1282, allocations: 0 / 0.557 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.1282, allocations: 0 / 0.557 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.957e-05/0.1282, allocations: 0 / 0.557 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.1287, allocations: 71.75 kB / 0.557 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.106e-05/0.1287, allocations: 0 / 0.557 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.1288, allocations: 7.922 kB / 0.557 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.1288, allocations: 4 kB / 0.557 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.129, allocations: 43.89 kB / 0.5571 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.129, allocations: 0 / 0.5571 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.693e-05/0.1291, allocations: 8 kB / 0.5571 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.1291, allocations: 0 / 0.5571 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.1291, allocations: 0 / 0.5571 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.1292, allocations: 15.98 kB / 0.5571 GB, free: 4.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1292, allocations: 0 / 0.5571 GB, free: 4.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1292, allocations: 0 / 0.5571 GB, free: 4.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1292, allocations: 0 / 0.5571 GB, free: 4.09 MB / 414.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.0003438/0.1296, allocations: 319.5 kB / 0.5574 GB, free: 3.727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1296, allocations: 8.031 kB / 0.5574 GB, free: 3.719 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.1297, allocations: 30.75 kB / 0.5574 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.1298, allocations: 8.938 kB / 0.5575 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.13, allocations: 168.3 kB / 0.5576 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.13, allocations: 8.375 kB / 0.5576 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.13, allocations: 384 / 0.5576 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.1301, allocations: 30.27 kB / 0.5577 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1301, allocations: 3.938 kB / 0.5577 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1301, allocations: 3.984 kB / 0.5577 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1301, allocations: 3.938 kB / 0.5577 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.491e-05/0.1301, allocations: 0 / 0.5577 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1305, allocations: 383.5 kB / 0.558 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1306, allocations: 173 kB / 0.5582 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.1307, allocations: 84.17 kB / 0.5583 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.1307, allocations: 75.28 kB / 0.5583 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.1308, allocations: 109.8 kB / 0.5585 GB, free: 2.531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1308, allocations: 4 kB / 0.5585 GB, free: 2.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001045/0.1309, allocations: 33.59 kB / 0.5585 GB, free: 2.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.131, allocations: 130.7 kB / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/0.1311, allocations: 93.86 kB / 0.5587 GB, free: 2.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1311, allocations: 25.7 kB / 0.5587 GB, free: 2.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.1311, allocations: 80.14 kB / 0.5588 GB, free: 2.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.1312, allocations: 0 / 0.5588 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1312, allocations: 13.72 kB / 0.5588 GB, free: 2.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1313, allocations: 319 kB / 0.5591 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.1313, allocations: 0 / 0.5591 GB, free: 1.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.1314, allocations: 0 / 0.5591 GB, free: 1.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.1314, allocations: 8.859 kB / 0.5591 GB, free: 1.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1314, allocations: 3.938 kB / 0.5591 GB, free: 1.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.1315, allocations: 37.62 kB / 0.5592 GB, free: 1.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1315, allocations: 4 kB / 0.5592 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1315, allocations: 96 / 0.5592 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1315, allocations: 7.938 kB / 0.5592 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.1316, allocations: 4 kB / 0.5592 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1316, allocations: 0 / 0.5592 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.1316, allocations: 0 / 0.5592 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1316, allocations: 0 / 0.5592 GB, free: 1.719 MB / 414.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.0001323/0.1317, allocations: 193.1 kB / 0.5594 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.1318, allocations: 105 kB / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.1319, allocations: 119.8 kB / 0.5596 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.661e-05/0.132, allocations: 176.3 kB / 0.5597 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-05/0.1321, allocations: 184.2 kB / 0.5599 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-05/0.1321, allocations: 176.3 kB / 0.5601 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.1324, allocations: 405.2 kB / 0.5605 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/0.1324, allocations: 104.9 kB / 0.5606 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.1325, allocations: 112.9 kB / 0.5607 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.461e-05/0.1326, allocations: 180.2 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.761e-05/0.1326, allocations: 180.4 kB / 0.561 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.512e-05/0.1327, allocations: 180.3 kB / 0.5612 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.097e-05/0.1328, allocations: 188.2 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.133, allocations: 307.7 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.1331, allocations: 182.1 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.1331, allocations: 184.3 kB / 0.562 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.1332, allocations: 104.9 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.1333, allocations: 184.3 kB / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.1334, allocations: 108.9 kB / 0.5624 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.1334, allocations: 79.27 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1334, allocations: 0 / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1336, allocations: 0 / 0.5625 GB, free: 14.12 MB / 430.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.0004901/0.1341, allocations: 0.8049 MB / 0.5633 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.047e-05/0.1342, allocations: 7.938 kB / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1342, allocations: 0 / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.1342, allocations: 0 / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.1347, allocations: 459.7 kB / 0.5637 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.1351, allocations: 188.9 kB / 0.5639 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1354, allocations: 0.669 MB / 0.5645 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.1354, allocations: 0 / 0.5645 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1355, allocations: 7.438 kB / 0.5646 GB, free: 11.89 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1355, allocations: 0 / 0.5646 GB, free: 11.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.158, allocations: 0.9053 MB / 0.5654 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.286, allocations: 19.12 kB / 0.5655 GB, free: 11.08 MB / 430.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins1/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: 11.20942674903199]