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.001685/0.001685, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001991/0.001991, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2306/0.2306, allocations: 46.93 MB / 357.8 MB, free: 10.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.91 kB / 0.4916 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.127, allocations: 65.99 MB / 0.5561 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002669/0.1297, allocations: 1.216 MB / 0.5572 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.131, allocations: 422.1 kB / 0.5577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.131, allocations: 0 / 0.5577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.1311, allocations: 0 / 0.5577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.055e-05/0.1311, allocations: 0 / 0.5577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008585/0.132, allocations: 67.75 kB / 0.5577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.1321, allocations: 7.984 kB / 0.5577 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.1321, allocations: 7.922 kB / 0.5577 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.1322, allocations: 4 kB / 0.5577 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.1326, allocations: 35.97 kB / 0.5578 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1326, allocations: 3.984 kB / 0.5578 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1327, allocations: 12 kB / 0.5578 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.1327, allocations: 0 / 0.5578 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.1327, allocations: 4 kB / 0.5578 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1329, allocations: 4 kB / 0.5578 GB, free: 4.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1329, allocations: 0 / 0.5578 GB, free: 4.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1329, allocations: 0 / 0.5578 GB, free: 4.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1329, allocations: 4 kB / 0.5578 GB, free: 4.043 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.0005459/0.1335, allocations: 319.5 kB / 0.5581 GB, free: 3.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/0.1335, allocations: 8.031 kB / 0.5581 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.174e-05/0.1336, allocations: 4.188 kB / 0.5581 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.1336, allocations: 30.75 kB / 0.5581 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.1338, allocations: 0.9375 kB / 0.5581 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.134, allocations: 172.3 kB / 0.5583 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.134, allocations: 384 / 0.5583 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.134, allocations: 384 / 0.5583 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1342, allocations: 34.02 kB / 0.5583 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1342, allocations: 0 / 0.5583 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1342, allocations: 7.938 kB / 0.5583 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1342, allocations: 0 / 0.5583 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.1342, allocations: 0 / 0.5583 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.1349, allocations: 383.5 kB / 0.5587 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.135, allocations: 181.1 kB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.1351, allocations: 80.14 kB / 0.559 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.1351, allocations: 75.28 kB / 0.559 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.166e-05/0.1352, allocations: 109.9 kB / 0.5591 GB, free: 2.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.744e-06/0.1352, allocations: 0 / 0.5591 GB, free: 2.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.747e-05/0.1353, allocations: 29.66 kB / 0.5592 GB, free: 2.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1354, allocations: 138.6 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1355, allocations: 89.86 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1356, allocations: 25.7 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1357, allocations: 88.14 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.1357, allocations: 0 / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1358, allocations: 13.66 kB / 0.5595 GB, free: 2.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.136, allocations: 310.8 kB / 0.5598 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.136, allocations: 8.125 kB / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.136, allocations: 0 / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.136, allocations: 8.797 kB / 0.5598 GB, free: 1.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.136, allocations: 0 / 0.5598 GB, free: 1.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001478/0.1362, allocations: 45.62 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1362, allocations: 4 kB / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1362, allocations: 0 / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.1362, allocations: 0 / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.1363, allocations: 8.094 kB / 0.5599 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1363, allocations: 4 kB / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.1363, allocations: 0 / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.1363, allocations: 0 / 0.5599 GB, free: 1.668 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.0001226/0.1365, allocations: 185.1 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.1365, allocations: 109 kB / 0.5602 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.1366, allocations: 115.8 kB / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-05/0.1367, allocations: 180.3 kB / 0.5604 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-05/0.1368, allocations: 176.3 kB / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.229e-05/0.1368, allocations: 188.2 kB / 0.5608 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1371, allocations: 401.2 kB / 0.5612 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/0.1372, allocations: 108.9 kB / 0.5613 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.881e-05/0.1372, allocations: 101 kB / 0.5614 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.1373, allocations: 184.3 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/0.1374, allocations: 188.4 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001164/0.1375, allocations: 184.3 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-05/0.1376, allocations: 180.2 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1379, allocations: 311.7 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.138, allocations: 186.1 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.1381, allocations: 176.3 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.1382, allocations: 104.9 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.1383, allocations: 180.3 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.1384, allocations: 108.9 kB / 0.5631 GB, free: 14.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.758e-05/0.1384, allocations: 87.27 kB / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1384, allocations: 0 / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1386, allocations: 0 / 0.5632 GB, free: 14.07 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.0007378/0.1394, allocations: 0.7971 MB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1395, allocations: 8 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1395, allocations: 0 / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.1395, allocations: 7.938 kB / 0.564 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.1401, allocations: 459.6 kB / 0.5644 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.1407, allocations: 190.6 kB / 0.5646 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1411, allocations: 0.669 MB / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.48e-05/0.1411, allocations: 0 / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.1412, allocations: 7.438 kB / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1412, allocations: 0 / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.1567, allocations: 0.954 MB / 0.5662 GB, free: 11.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/8.398, allocations: 6.203 kB / 0.5662 GB, free: 11.02 MB / 430.1 MB " [Timeout remaining time 651] (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.462426019017585]