Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001935/0.001935, allocations: 118.2 kB / 19.17 MB, free: 3.852 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.002278/0.002278, allocations: 205 kB / 22.12 MB, free: 0.9062 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.454/1.454, allocations: 230.3 MB / 255.2 MB, free: 15.21 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.2325/0.2325, allocations: 46.92 MB / 358.2 MB, free: 10.42 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [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.002324/0.002324, allocations: 91.84 kB / 0.4925 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1242, allocations: 66 MB / 0.557 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001685/0.1259, allocations: 0.4892 MB / 0.5574 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1279, allocations: 1.411 MB / 0.5588 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.1279, allocations: 0 / 0.5588 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.1279, allocations: 3.938 kB / 0.5588 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.248e-05/0.1279, allocations: 0 / 0.5588 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.1286, allocations: 219.2 kB / 0.559 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.878e-05/0.1287, allocations: 7.938 kB / 0.559 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.1287, allocations: 0 / 0.559 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.1288, allocations: 4 kB / 0.559 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.1288, allocations: 3.984 kB / 0.559 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.1288, allocations: 0 / 0.559 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.1293, allocations: 279.6 kB / 0.5593 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.1293, allocations: 11.92 kB / 0.5593 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.1293, allocations: 3.984 kB / 0.5593 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1295, allocations: 139.7 kB / 0.5595 GB, free: 2.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1295, allocations: 0 / 0.5595 GB, free: 2.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1295, allocations: 0 / 0.5595 GB, free: 2.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1295, allocations: 0 / 0.5595 GB, free: 2.969 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004169/0.13, allocations: 339.3 kB / 0.5598 GB, free: 2.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.13, allocations: 8.031 kB / 0.5598 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.13, allocations: 12.83 kB / 0.5598 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1301, allocations: 160.4 kB / 0.5599 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1302, allocations: 8.312 kB / 0.56 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.1302, allocations: 4.375 kB / 0.56 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1303, allocations: 45.98 kB / 0.56 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.1303, allocations: 0 / 0.56 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1303, allocations: 0 / 0.56 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1303, allocations: 4 kB / 0.56 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.95e-05/0.1303, allocations: 4 kB / 0.56 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1307, allocations: 256.8 kB / 0.5603 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.1308, allocations: 14.58 kB / 0.5603 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.1308, allocations: 4.859 kB / 0.5603 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1308, allocations: 4.062 kB / 0.5603 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1308, allocations: 30.56 kB / 0.5603 GB, free: 1.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1308, allocations: 0 / 0.5603 GB, free: 1.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.131, allocations: 45.62 kB / 0.5604 GB, free: 1.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.131, allocations: 55.41 kB / 0.5604 GB, free: 1.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.1311, allocations: 93.8 kB / 0.5605 GB, free: 1.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1311, allocations: 25.7 kB / 0.5605 GB, free: 1.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.1312, allocations: 88.09 kB / 0.5606 GB, free: 1.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/0.1312, allocations: 7.953 kB / 0.5606 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.1312, allocations: 17.7 kB / 0.5606 GB, free: 1.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1314, allocations: 319 kB / 0.5609 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.1314, allocations: 0 / 0.5609 GB, free: 1.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.1314, allocations: 22.58 kB / 0.561 GB, free: 1.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.997e-05/0.1315, allocations: 30.5 kB / 0.561 GB, free: 1.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1315, allocations: 0 / 0.561 GB, free: 1.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.457e-05/0.1315, allocations: 49.64 kB / 0.561 GB, free: 1.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1315, allocations: 4 kB / 0.561 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1315, allocations: 4 kB / 0.561 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1316, allocations: 0 / 0.561 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.1316, allocations: 7.984 kB / 0.561 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1316, allocations: 0 / 0.561 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.1316, allocations: 4 kB / 0.561 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1316, allocations: 0 / 0.561 GB, free: 1.094 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.063e-05/0.1317, allocations: 121.9 kB / 0.5612 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.1317, allocations: 0 / 0.5612 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1319, allocations: 44.75 kB / 0.5612 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1319, allocations: 3.938 kB / 0.5612 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1319, allocations: 0 / 0.5612 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1319, allocations: 0 / 0.5612 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.132, allocations: 157.6 kB / 0.5614 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.132, allocations: 3.938 kB / 0.5614 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.132, allocations: 4.031 kB / 0.5614 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.132, allocations: 0 / 0.5614 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1321, allocations: 0 / 0.5614 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.1321, allocations: 8 kB / 0.5614 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1321, allocations: 0 / 0.5614 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1322, allocations: 135.4 kB / 0.5615 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.1322, allocations: 81.19 kB / 0.5616 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.1322, allocations: 0 / 0.5616 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.1323, allocations: 8.016 kB / 0.5616 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.1323, allocations: 0 / 0.5616 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1323, allocations: 4 kB / 0.5616 GB, free: 448 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.939e-05/0.1323, allocations: 75.28 kB / 0.5617 GB, free: 372 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1323, allocations: 0 / 0.5617 GB, free: 372 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1326, allocations: 43.92 kB / 0.5617 GB, free: 328 kB / 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.000289/0.1329, allocations: 131.2 kB / 0.5618 GB, free: 184 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.133, allocations: 16.03 kB / 0.5618 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.133, allocations: 0 / 0.5618 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.1331, allocations: 33.69 kB / 0.5619 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1333, allocations: 7.938 kB / 0.5619 GB, free: 120 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.1335, allocations: 102.8 kB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1339, allocations: 0.6768 MB / 0.5626 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.1339, allocations: 7.438 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1339, allocations: 256 / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of Templates: time 0.002625/0.1365, allocations: 0.9176 MB / 0.5636 GB, free: 14.36 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.160921551985666]