Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.0007864/0.0007864, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008103/0.0008103, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8483/0.8483, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2325/0.2325, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.584e-05, allocations: 2.281 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009914/0.001007, allocations: 0.535 MB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002807/0.001288, allocations: 143.5 kB / 442.8 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.001311, allocations: 0 / 442.8 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.001326, allocations: 3.938 kB / 442.8 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.001536, allocations: 35.78 kB / 442.8 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.00154, allocations: 0 / 442.8 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.001589, allocations: 23.91 kB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.001626, allocations: 8 kB / 442.9 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.001654, allocations: 11.92 kB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.001704, allocations: 11.98 kB / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.001715, allocations: 0 / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.0018, allocations: 47.89 kB / 442.9 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.00181, allocations: 7.938 kB / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.001826, allocations: 15.91 kB / 443 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.001918, allocations: 35.89 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00192, allocations: 0 / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.001921, allocations: 0 / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.001924, allocations: 0 / 443 MB, free: 0.7188 MB / 410.7 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.0002264/0.002151, allocations: 270.2 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.002186, allocations: 12.03 kB / 443.3 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.002212, allocations: 34.73 kB / 443.3 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.083e-05/0.002233, allocations: 4.938 kB / 443.3 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.44e-05/0.002298, allocations: 113.7 kB / 443.4 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.002308, allocations: 4.375 kB / 443.4 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.002316, allocations: 384 / 443.4 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.002419, allocations: 70.11 kB / 443.5 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.002426, allocations: 192 / 443.5 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.002433, allocations: 384 / 443.5 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.002441, allocations: 16.11 kB / 443.5 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.002519, allocations: 55.89 kB / 443.6 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1575/0.16, allocations: 135.9 kB / 443.7 MB, free: 44.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1601, allocations: 71.34 kB / 443.8 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.1602, allocations: 22.7 kB / 443.8 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.1604, allocations: 24.78 kB / 443.8 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.1604, allocations: 34 kB / 443.9 MB, free: 44.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1604, allocations: 1.406 kB / 443.9 MB, free: 44.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000181/0.1606, allocations: 105.4 kB / 444 MB, free: 43.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.1606, allocations: 57.75 kB / 444 MB, free: 43.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.165e-05/0.1606, allocations: 93.8 kB / 444.1 MB, free: 43.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-06/0.1606, allocations: 26.64 kB / 444.1 MB, free: 43.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-06/0.1606, allocations: 83.77 kB / 444.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.1606, allocations: 35.45 kB / 444.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.1607, allocations: 19.78 kB / 444.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.536e-05/0.1607, allocations: 318.9 kB / 444.6 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.1607, allocations: 21.33 kB / 444.6 MB, free: 43.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.1607, allocations: 14.5 kB / 444.6 MB, free: 43.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.526e-05/0.1608, allocations: 52.95 kB / 444.7 MB, free: 43.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1608, allocations: 2.906 kB / 444.7 MB, free: 43.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.918e-05/0.1609, allocations: 85.97 kB / 444.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1609, allocations: 6.297 kB / 444.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1609, allocations: 6.906 kB / 444.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1609, allocations: 3.938 kB / 444.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.161, allocations: 19 kB / 444.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.161, allocations: 0 / 444.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.161, allocations: 3.156 kB / 444.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.161, allocations: 7.219 kB / 444.8 MB, free: 43.32 MB / 410.7 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 3.886e-05/0.161, allocations: 117.2 kB / 444.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-06/0.161, allocations: 6.891 kB / 444.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1612, allocations: 98.16 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1612, allocations: 7.031 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1612, allocations: 0.6562 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1612, allocations: 3.656 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.055e-05/0.1612, allocations: 147.6 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.1612, allocations: 0 / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.1613, allocations: 14.66 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1613, allocations: 3.328 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1613, allocations: 6.891 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1613, allocations: 6.938 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1613, allocations: 2.812 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.32e-05/0.1613, allocations: 109.7 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-06/0.1613, allocations: 10.28 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.1614, allocations: 3.75 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.1614, allocations: 6.938 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1614, allocations: 6.266 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1614, allocations: 3.938 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.124e-05/0.1614, allocations: 78.06 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1614, allocations: 0 / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.1615, allocations: 13.97 kB / 445.4 MB, free: 42.86 MB / 410.7 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.0001982/0.1617, allocations: 0.6556 MB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.1618, allocations: 55.27 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1618, allocations: 3.062 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.1618, allocations: 29.41 kB / 446.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.1619, allocations: 9.844 kB / 446.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.1622, allocations: 169 kB / 446.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.63e-05/0.1623, allocations: 66.56 kB / 446.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.54e-05/0.1623, allocations: 6.469 kB / 446.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.1623, allocations: 18.66 kB / 446.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of SimCode: time 5.72e-07/0.1623, allocations: 6.812 kB / 446.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.1767, allocations: 2.197 MB / 448.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.822, allocations: 10.47 kB / 448.7 MB, free: 41.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.644730881787837]