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.001703/0.001703, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 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.00204/0.00204, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 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.495/1.495, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.1 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.2334/0.2334, allocations: 46.92 MB / 357 MB, free: 10.19 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 75.88 kB / 0.491 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 66.05 MB / 0.5555 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002437/0.1305, allocations: 1.212 MB / 0.5566 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.1313, allocations: 426.2 kB / 0.5571 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.231e-05/0.1313, allocations: 0 / 0.5571 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.1313, allocations: 0 / 0.5571 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.1314, allocations: 3.938 kB / 0.5571 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.1318, allocations: 67.8 kB / 0.5571 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.1319, allocations: 0 / 0.5571 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.1319, allocations: 4 kB / 0.5571 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.1319, allocations: 7.922 kB / 0.5571 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1322, allocations: 39.97 kB / 0.5572 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-06/0.1322, allocations: 3.938 kB / 0.5572 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.1322, allocations: 8 kB / 0.5572 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.1322, allocations: 3.984 kB / 0.5572 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.1323, allocations: 0 / 0.5572 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 7.725e-05/0.1323, allocations: 11.98 kB / 0.5572 GB, free: 3.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1323, allocations: 0 / 0.5572 GB, free: 3.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1323, allocations: 4 kB / 0.5572 GB, free: 3.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1323, allocations: 0 / 0.5572 GB, free: 3.742 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.0003173/0.1327, allocations: 314.3 kB / 0.5575 GB, free: 3.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1327, allocations: 16.02 kB / 0.5575 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.1327, allocations: 34.69 kB / 0.5575 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1329, allocations: 4.938 kB / 0.5576 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.133, allocations: 160.4 kB / 0.5577 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.133, allocations: 384 / 0.5577 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.133, allocations: 4.375 kB / 0.5577 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.235e-05/0.1331, allocations: 34.25 kB / 0.5577 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1331, allocations: 3.938 kB / 0.5577 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1331, allocations: 0 / 0.5577 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1331, allocations: 4 kB / 0.5578 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.1331, allocations: 7.875 kB / 0.5578 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1335, allocations: 375.5 kB / 0.5581 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1336, allocations: 177.1 kB / 0.5583 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.1336, allocations: 80.14 kB / 0.5584 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.1337, allocations: 79.28 kB / 0.5584 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.1337, allocations: 109.8 kB / 0.5585 GB, free: 2.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1337, allocations: 0 / 0.5585 GB, free: 2.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.81e-05/0.1338, allocations: 29.66 kB / 0.5586 GB, free: 2.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.1339, allocations: 130.7 kB / 0.5587 GB, free: 2.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.1339, allocations: 93.86 kB / 0.5588 GB, free: 1.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.134, allocations: 29.83 kB / 0.5588 GB, free: 1.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.134, allocations: 80.14 kB / 0.5589 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.134, allocations: 0 / 0.5589 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.1341, allocations: 17.7 kB / 0.5589 GB, free: 1.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1342, allocations: 310.8 kB / 0.5592 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.1342, allocations: 0 / 0.5592 GB, free: 1.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.1342, allocations: 4 kB / 0.5592 GB, free: 1.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.1342, allocations: 16.86 kB / 0.5592 GB, free: 1.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1342, allocations: 3.938 kB / 0.5592 GB, free: 1.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.802e-05/0.1343, allocations: 29.7 kB / 0.5593 GB, free: 1.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1344, allocations: 4 kB / 0.5593 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1344, allocations: 0 / 0.5593 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1344, allocations: 4 kB / 0.5593 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.719e-05/0.1344, allocations: 0 / 0.5593 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1344, allocations: 3.984 kB / 0.5593 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-06/0.1344, allocations: 0 / 0.5593 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1344, allocations: 0 / 0.5593 GB, free: 1.387 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.0001165/0.1345, allocations: 193.1 kB / 0.5595 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.1346, allocations: 112.9 kB / 0.5596 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.1347, allocations: 111.9 kB / 0.5597 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.444e-05/0.1348, allocations: 184.2 kB / 0.5598 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.859e-05/0.1349, allocations: 184.2 kB / 0.56 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.992e-05/0.1349, allocations: 180.3 kB / 0.5602 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.1352, allocations: 409 kB / 0.5606 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.395e-05/0.1353, allocations: 105 kB / 0.5607 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.1353, allocations: 108.9 kB / 0.5608 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.545e-05/0.1354, allocations: 180.2 kB / 0.561 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/0.1355, allocations: 176.5 kB / 0.5611 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.99e-05/0.1356, allocations: 192.2 kB / 0.5613 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-05/0.1357, allocations: 176.3 kB / 0.5615 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1359, allocations: 311.7 kB / 0.5618 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.136, allocations: 178.1 kB / 0.5619 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.136, allocations: 184.2 kB / 0.5621 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1361, allocations: 113 kB / 0.5622 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.1362, allocations: 184.2 kB / 0.5624 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.1363, allocations: 101 kB / 0.5625 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.342e-05/0.1363, allocations: 75.28 kB / 0.5626 GB, free: 13.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1363, allocations: 0 / 0.5626 GB, free: 13.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1366, allocations: 4 kB / 0.5626 GB, free: 13.78 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.00053/0.1371, allocations: 0.8087 MB / 0.5634 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.1372, allocations: 4 kB / 0.5634 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1372, allocations: 0 / 0.5634 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.1372, allocations: 0 / 0.5634 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.1376, allocations: 459.8 kB / 0.5638 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.138, allocations: 194.4 kB / 0.564 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.1384, allocations: 0.669 MB / 0.5646 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.1384, allocations: 0 / 0.5646 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.1384, allocations: 7.438 kB / 0.5646 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1384, allocations: 4 kB / 0.5647 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.158, allocations: 0.9029 MB / 0.5655 GB, free: 10.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/7.993, allocations: 11.55 kB / 0.5655 GB, free: 10.73 MB / 430.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv","/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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.093028299044818]