Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001762/0.001762, allocations: 114.3 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.001972/0.001972, allocations: 219 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.487/1.487, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2401/0.2401, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 64.12 kB / 0.4916 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1532, allocations: 65.99 MB / 0.556 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001685/0.1549, allocations: 0.5282 MB / 0.5566 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004435/0.1553, allocations: 160 kB / 0.5567 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1553, allocations: 0 / 0.5567 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.1554, allocations: 3.938 kB / 0.5567 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1556, allocations: 51.81 kB / 0.5568 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.927e-06/0.1556, allocations: 0 / 0.5568 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.1557, allocations: 19.92 kB / 0.5568 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.1557, allocations: 0 / 0.5568 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.1557, allocations: 7.938 kB / 0.5568 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.1558, allocations: 19.91 kB / 0.5568 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1558, allocations: 4 kB / 0.5568 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1559, allocations: 51.94 kB / 0.5569 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.156, allocations: 3.938 kB / 0.5569 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.156, allocations: 11.88 kB / 0.5569 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1561, allocations: 43.81 kB / 0.5569 GB, free: 4.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1561, allocations: 4 kB / 0.5569 GB, free: 4.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1561, allocations: 0 / 0.5569 GB, free: 4.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1561, allocations: 0 / 0.5569 GB, free: 4.934 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003931/0.1565, allocations: 343.3 kB / 0.5573 GB, free: 4.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1566, allocations: 12.03 kB / 0.5573 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.137e-05/0.1566, allocations: 192 / 0.5573 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.1566, allocations: 34.73 kB / 0.5573 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.1566, allocations: 8.938 kB / 0.5573 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1568, allocations: 168.3 kB / 0.5575 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1568, allocations: 8.375 kB / 0.5575 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.1568, allocations: 384 / 0.5575 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.157, allocations: 61.98 kB / 0.5575 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.157, allocations: 0 / 0.5575 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.157, allocations: 4 kB / 0.5575 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.157, allocations: 4 kB / 0.5575 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1571, allocations: 51.89 kB / 0.5576 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.1573, allocations: 169.6 kB / 0.5578 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1575, allocations: 78.55 kB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1575, allocations: 28.84 kB / 0.5579 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/0.1579, allocations: 251.2 kB / 0.5581 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1579, allocations: 42.7 kB / 0.5581 GB, free: 3.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1579, allocations: 0 / 0.5581 GB, free: 3.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000239/0.1582, allocations: 101.6 kB / 0.5582 GB, free: 3.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1582, allocations: 55.41 kB / 0.5583 GB, free: 3.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.1583, allocations: 97.84 kB / 0.5584 GB, free: 3.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1583, allocations: 25.7 kB / 0.5584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.1584, allocations: 84.14 kB / 0.5585 GB, free: 3.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.1584, allocations: 43.56 kB / 0.5585 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1585, allocations: 21.7 kB / 0.5585 GB, free: 3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1586, allocations: 318.8 kB / 0.5588 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.1587, allocations: 20.11 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.1587, allocations: 16 kB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.162e-05/0.1588, allocations: 56.78 kB / 0.5589 GB, free: 2.586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1588, allocations: 0 / 0.5589 GB, free: 2.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001355/0.1589, allocations: 86.19 kB / 0.559 GB, free: 2.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.159, allocations: 11.94 kB / 0.559 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.159, allocations: 0 / 0.559 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.159, allocations: 4.031 kB / 0.559 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1591, allocations: 19.92 kB / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1591, allocations: 0 / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.1591, allocations: 8 kB / 0.5591 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1591, allocations: 0 / 0.5591 GB, free: 2.453 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 (10): * Single equations (assignments): 10 * 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.074e-05/0.1592, allocations: 113.8 kB / 0.5592 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.1592, allocations: 7.891 kB / 0.5592 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.1594, allocations: 105.6 kB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1594, allocations: 0 / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1595, allocations: 0 / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1595, allocations: 4 kB / 0.5593 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.1596, allocations: 169.7 kB / 0.5594 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1596, allocations: 0 / 0.5594 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.1597, allocations: 23.92 kB / 0.5595 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1597, allocations: 3.938 kB / 0.5595 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1597, allocations: 0 / 0.5595 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1597, allocations: 0 / 0.5595 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1597, allocations: 0 / 0.5595 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1599, allocations: 117 kB / 0.5596 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.1599, allocations: 88.98 kB / 0.5597 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.16, allocations: 4 kB / 0.5597 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.617e-05/0.16, allocations: 4 kB / 0.5597 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.16, allocations: 7.984 kB / 0.5597 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.16, allocations: 0 / 0.5597 GB, free: 1.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.16, allocations: 79.28 kB / 0.5598 GB, free: 1.637 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.16, allocations: 0 / 0.5598 GB, free: 1.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002024/0.1603, allocations: 19.94 kB / 0.5598 GB, free: 1.617 MB / 414.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 (10): * Single equations (assignments): 10 * 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.0005518/0.1608, allocations: 0.6632 MB / 0.5604 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.1609, allocations: 51.92 kB / 0.5605 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1609, allocations: 0 / 0.5605 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/0.161, allocations: 31.92 kB / 0.5605 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.1611, allocations: 5.719 kB / 0.5605 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.1616, allocations: 174.6 kB / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.162, allocations: 0.6807 MB / 0.5613 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.348e-05/0.162, allocations: 7.781 kB / 0.5613 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.162, allocations: 15.44 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.162, allocations: 0 / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.1785, allocations: 1.604 MB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.398, allocations: 21.48 kB / 0.563 GB, free: 14.39 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.606528076983523]