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.001261/0.001261, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001311/0.001311, allocations: 214.2 kB / 21.45 MB, free: 1.633 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.421/1.421, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.2275/0.2275, allocations: 46.91 MB / 357.7 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 87.84 kB / 0.4917 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1244, allocations: 66.04 MB / 0.5562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002372/0.1268, allocations: 1.205 MB / 0.5573 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008033/0.1276, allocations: 434.2 kB / 0.5577 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.172e-05/0.1276, allocations: 0 / 0.5577 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.1276, allocations: 0 / 0.5577 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.1276, allocations: 0 / 0.5577 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.1281, allocations: 67.75 kB / 0.5578 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.045e-05/0.1281, allocations: 3.938 kB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.1282, allocations: 4 kB / 0.5578 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.1282, allocations: 0 / 0.5578 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1284, allocations: 43.95 kB / 0.5579 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.1284, allocations: 0 / 0.5579 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.1285, allocations: 11.98 kB / 0.5579 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.1285, allocations: 0 / 0.5579 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.448e-05/0.1285, allocations: 0 / 0.5579 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 7.255e-05/0.1286, allocations: 11.98 kB / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1286, allocations: 0 / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1286, allocations: 0 / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1286, allocations: 4 kB / 0.5579 GB, free: 3.773 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.0003229/0.1289, allocations: 315.5 kB / 0.5582 GB, free: 3.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.129, allocations: 12.03 kB / 0.5582 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.916e-05/0.129, allocations: 192 / 0.5582 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.129, allocations: 30.75 kB / 0.5582 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1291, allocations: 4.938 kB / 0.5582 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1293, allocations: 164.4 kB / 0.5584 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1293, allocations: 4.375 kB / 0.5584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.1293, allocations: 4.312 kB / 0.5584 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.953e-05/0.1294, allocations: 37.95 kB / 0.5584 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1294, allocations: 7.938 kB / 0.5584 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1294, allocations: 0 / 0.5584 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1294, allocations: 3.984 kB / 0.5584 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.1294, allocations: 4 kB / 0.5584 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.1298, allocations: 379.5 kB / 0.5588 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.704e-05/0.1299, allocations: 173.1 kB / 0.559 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.1299, allocations: 84.14 kB / 0.5591 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1299, allocations: 75.28 kB / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.13, allocations: 105.8 kB / 0.5592 GB, free: 2.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.13, allocations: 0 / 0.5592 GB, free: 2.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.326e-05/0.1301, allocations: 33.66 kB / 0.5593 GB, free: 2.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.1301, allocations: 130.7 kB / 0.5594 GB, free: 2.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.1302, allocations: 101.8 kB / 0.5595 GB, free: 1.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1302, allocations: 25.7 kB / 0.5595 GB, free: 1.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.1303, allocations: 80.14 kB / 0.5596 GB, free: 1.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.1303, allocations: 0 / 0.5596 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1303, allocations: 13.72 kB / 0.5596 GB, free: 1.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1304, allocations: 310.8 kB / 0.5599 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.1305, allocations: 4 kB / 0.5599 GB, free: 1.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.1305, allocations: 4.125 kB / 0.5599 GB, free: 1.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.194e-05/0.1305, allocations: 16.86 kB / 0.5599 GB, free: 1.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1305, allocations: 0 / 0.5599 GB, free: 1.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.489e-05/0.1306, allocations: 33.69 kB / 0.5599 GB, free: 1.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1306, allocations: 4 kB / 0.56 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1306, allocations: 4 kB / 0.56 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1306, allocations: 3.938 kB / 0.56 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.514e-05/0.1306, allocations: 0 / 0.56 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1306, allocations: 0 / 0.56 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.1306, allocations: 32 / 0.56 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1307, allocations: 8 kB / 0.56 GB, free: 1.398 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 9.454e-05/0.1307, allocations: 185.1 kB / 0.5601 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.1308, allocations: 109 kB / 0.5602 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.1309, allocations: 115.8 kB / 0.5604 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-05/0.1309, allocations: 180.3 kB / 0.5605 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.489e-05/0.131, allocations: 180.3 kB / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.409e-05/0.1311, allocations: 180.2 kB / 0.5609 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1314, allocations: 409.1 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/0.1314, allocations: 108.9 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.1314, allocations: 101 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.74e-05/0.1315, allocations: 176.3 kB / 0.5616 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.1316, allocations: 184.4 kB / 0.5618 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-05/0.1317, allocations: 192.2 kB / 0.562 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.312e-05/0.1318, allocations: 180.2 kB / 0.5622 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.1319, allocations: 303.8 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.132, allocations: 190 kB / 0.5626 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.1321, allocations: 180.3 kB / 0.5628 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.1322, allocations: 108.9 kB / 0.5629 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.1323, allocations: 180.3 kB / 0.5631 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.1323, allocations: 101 kB / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.748e-05/0.1323, allocations: 75.28 kB / 0.5632 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1323, allocations: 8.031 kB / 0.5633 GB, free: 13.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.1326, allocations: 4 kB / 0.5633 GB, free: 13.8 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.0004466/0.133, allocations: 0.8009 MB / 0.564 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.298e-05/0.1331, allocations: 4 kB / 0.564 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1331, allocations: 4.062 kB / 0.5641 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.1331, allocations: 3.938 kB / 0.5641 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1334, allocations: 457.7 kB / 0.5645 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.1338, allocations: 186.5 kB / 0.5647 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1341, allocations: 0.669 MB / 0.5653 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.752e-05/0.1341, allocations: 4 kB / 0.5653 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.1341, allocations: 7.438 kB / 0.5653 GB, free: 11.57 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1341, allocations: 4 kB / 0.5653 GB, free: 11.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.1489, allocations: 0.9533 MB / 0.5663 GB, free: 10.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.075, allocations: 10.66 kB / 0.5663 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.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_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: 10.966382269980386]