Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001485/0.001485, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001642/0.001642, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.457/1.457, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2412/0.2412, allocations: 46.88 MB / 358.1 MB, free: 10.57 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-beta.om/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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 87.84 kB / 0.4923 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.126, allocations: 65.98 MB / 0.5568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001691/0.1277, allocations: 0.4969 MB / 0.5573 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1298, allocations: 1.411 MB / 0.5586 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.1298, allocations: 4 kB / 0.5586 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.1298, allocations: 3.938 kB / 0.5587 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.1298, allocations: 0 / 0.5587 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007165/0.1306, allocations: 215.5 kB / 0.5589 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.1306, allocations: 15.92 kB / 0.5589 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.1307, allocations: 0 / 0.5589 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.1307, allocations: 4 kB / 0.5589 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.1307, allocations: 7.984 kB / 0.5589 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1307, allocations: 4 kB / 0.5589 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.1312, allocations: 287.6 kB / 0.5592 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1312, allocations: 3.938 kB / 0.5592 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.1313, allocations: 0 / 0.5592 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1315, allocations: 147.6 kB / 0.5593 GB, free: 3.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1315, allocations: 4 kB / 0.5593 GB, free: 3.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1315, allocations: 0 / 0.5593 GB, free: 3.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1315, allocations: 0 / 0.5593 GB, free: 3.336 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.0004381/0.1319, allocations: 339.3 kB / 0.5596 GB, free: 2.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.132, allocations: 8.031 kB / 0.5596 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.132, allocations: 4.938 kB / 0.5596 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1321, allocations: 164.3 kB / 0.5598 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1322, allocations: 4.312 kB / 0.5598 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1322, allocations: 4.312 kB / 0.5598 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1323, allocations: 42 kB / 0.5599 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1323, allocations: 0 / 0.5599 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1323, allocations: 0 / 0.5599 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1323, allocations: 4 kB / 0.5599 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.1323, allocations: 4 kB / 0.5599 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1325, allocations: 141.7 kB / 0.56 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/0.1325, allocations: 30.53 kB / 0.56 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.1326, allocations: 4.859 kB / 0.56 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1326, allocations: 0 / 0.56 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1326, allocations: 38.56 kB / 0.5601 GB, free: 2.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1326, allocations: 4 kB / 0.5601 GB, free: 2.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.1327, allocations: 29.7 kB / 0.5601 GB, free: 2.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1328, allocations: 51.41 kB / 0.5601 GB, free: 2.301 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.1329, allocations: 105.8 kB / 0.5602 GB, free: 2.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1329, allocations: 25.7 kB / 0.5603 GB, free: 2.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.1329, allocations: 80.14 kB / 0.5603 GB, free: 2.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.133, allocations: 7.953 kB / 0.5604 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.133, allocations: 13.97 kB / 0.5604 GB, free: 2.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1331, allocations: 314.8 kB / 0.5607 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.1331, allocations: 4 kB / 0.5607 GB, free: 1.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.1331, allocations: 0 / 0.5607 GB, free: 1.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.1332, allocations: 8.859 kB / 0.5607 GB, free: 1.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1332, allocations: 0 / 0.5607 GB, free: 1.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.942e-05/0.1332, allocations: 37.69 kB / 0.5607 GB, free: 1.672 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1333, allocations: 7.938 kB / 0.5607 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1333, allocations: 4.094 kB / 0.5607 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1333, allocations: 3.938 kB / 0.5607 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.1333, allocations: 4 kB / 0.5607 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1333, allocations: 0 / 0.5607 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.1333, allocations: 0 / 0.5607 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1333, allocations: 0 / 0.5607 GB, free: 1.652 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 8.248e-05/0.1334, allocations: 105.8 kB / 0.5608 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.1334, allocations: 15.92 kB / 0.5609 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.1336, allocations: 48.77 kB / 0.5609 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1336, allocations: 0 / 0.5609 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1336, allocations: 3.938 kB / 0.5609 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1336, allocations: 0 / 0.5609 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1337, allocations: 153.7 kB / 0.561 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1337, allocations: 0 / 0.561 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-06/0.1337, allocations: 3.984 kB / 0.5611 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1337, allocations: 7.875 kB / 0.5611 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.1337, allocations: 4.031 kB / 0.5611 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1337, allocations: 3.938 kB / 0.5611 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1337, allocations: 0 / 0.5611 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.919e-05/0.1338, allocations: 61.12 kB / 0.5611 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.1338, allocations: 81.05 kB / 0.5612 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1339, allocations: 4 kB / 0.5612 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.1339, allocations: 3.984 kB / 0.5612 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1339, allocations: 8.031 kB / 0.5612 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.1339, allocations: 0 / 0.5612 GB, free: 1.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.134, allocations: 75.28 kB / 0.5613 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.134, allocations: 0 / 0.5613 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1342, allocations: 39.94 kB / 0.5613 GB, free: 0.9453 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002993/0.1345, allocations: 139.2 kB / 0.5615 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.1346, allocations: 7.938 kB / 0.5615 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1346, allocations: 4.156 kB / 0.5615 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/0.1347, allocations: 29.7 kB / 0.5615 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1348, allocations: 1.406 kB / 0.5615 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.135, allocations: 114.7 kB / 0.5616 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1353, allocations: 0.6729 MB / 0.5623 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.1354, allocations: 7.438 kB / 0.5623 GB, free: 15.9 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1354, allocations: 0 / 0.5623 GB, free: 15.9 MB / 430.1 MB Notification: Performance of Templates: time 0.002529/0.1379, allocations: 0.9243 MB / 0.5632 GB, free: 14.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 7.224043436115608]