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.001612/0.001612, allocations: 110.8 kB / 19.17 MB, free: 3.891 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.001744/0.001744, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.448/1.448, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2307/0.2307, allocations: 46.88 MB / 358.1 MB, free: 10.51 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.00226/0.00226, allocations: 75.88 kB / 0.4923 GB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1315, allocations: 65.99 MB / 0.5568 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001615/0.1331, allocations: 0.493 MB / 0.5573 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1351, allocations: 1.415 MB / 0.5586 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.1351, allocations: 0 / 0.5586 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1352, allocations: 0 / 0.5586 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.774e-05/0.1352, allocations: 3.938 kB / 0.5586 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.1359, allocations: 215.4 kB / 0.5589 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.1359, allocations: 11.98 kB / 0.5589 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.136, allocations: 0 / 0.5589 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.136, allocations: 12 kB / 0.5589 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.1361, allocations: 3.984 kB / 0.5589 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1361, allocations: 0 / 0.5589 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.1366, allocations: 283.6 kB / 0.5591 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1366, allocations: 7.938 kB / 0.5592 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.1366, allocations: 4 kB / 0.5592 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1368, allocations: 147.6 kB / 0.5593 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1368, allocations: 0 / 0.5593 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1368, allocations: 4 kB / 0.5593 GB, free: 3.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1368, allocations: 0 / 0.5593 GB, free: 3.465 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.0004123/0.1372, allocations: 339.4 kB / 0.5596 GB, free: 3.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1373, allocations: 8.031 kB / 0.5596 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.1373, allocations: 4.891 kB / 0.5596 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1374, allocations: 160.4 kB / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1374, allocations: 384 / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1375, allocations: 8.312 kB / 0.5598 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1376, allocations: 45.94 kB / 0.5598 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1376, allocations: 3.984 kB / 0.5599 GB, free: 2.816 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1376, allocations: 0 / 0.5599 GB, free: 2.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1376, allocations: 4 kB / 0.5599 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.1376, allocations: 8 kB / 0.5599 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.138, allocations: 244.9 kB / 0.5601 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.138, allocations: 22.52 kB / 0.5601 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.138, allocations: 4.859 kB / 0.5601 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1381, allocations: 0 / 0.5601 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.1381, allocations: 38.62 kB / 0.5602 GB, free: 2.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.1381, allocations: 0 / 0.5602 GB, free: 2.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.1383, allocations: 37.69 kB / 0.5602 GB, free: 2.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1383, allocations: 51.41 kB / 0.5602 GB, free: 2.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.1384, allocations: 93.86 kB / 0.5603 GB, free: 2.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1384, allocations: 25.7 kB / 0.5604 GB, free: 2.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.1384, allocations: 99.97 kB / 0.5605 GB, free: 2.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/0.1385, allocations: 4.203 kB / 0.5605 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.1385, allocations: 21.7 kB / 0.5605 GB, free: 2.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1386, allocations: 314.8 kB / 0.5608 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.1386, allocations: 4 kB / 0.5608 GB, free: 1.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.1387, allocations: 18.58 kB / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.1387, allocations: 34.56 kB / 0.5608 GB, free: 1.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1387, allocations: 3.938 kB / 0.5608 GB, free: 1.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.204e-05/0.1388, allocations: 41.64 kB / 0.5609 GB, free: 1.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1388, allocations: 4 kB / 0.5609 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1388, allocations: 0 / 0.5609 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1388, allocations: 4 kB / 0.5609 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.875e-05/0.1389, allocations: 7.984 kB / 0.5609 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1389, allocations: 0 / 0.5609 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.1389, allocations: 4.094 kB / 0.5609 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1389, allocations: 8 kB / 0.5609 GB, free: 1.59 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 8.107e-05/0.139, allocations: 109.8 kB / 0.561 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.139, allocations: 4 kB / 0.561 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1391, allocations: 52.75 kB / 0.5611 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1391, allocations: 0 / 0.5611 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1391, allocations: 0 / 0.5611 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1391, allocations: 7.969 kB / 0.5611 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1393, allocations: 157.6 kB / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1393, allocations: 0 / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1393, allocations: 0 / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1393, allocations: 0 / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1393, allocations: 0 / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1393, allocations: 0 / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1393, allocations: 4 kB / 0.5612 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1394, allocations: 131.5 kB / 0.5613 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.1394, allocations: 85.09 kB / 0.5614 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.1395, allocations: 0 / 0.5614 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.1395, allocations: 3.938 kB / 0.5614 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.1395, allocations: 96 / 0.5614 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1395, allocations: 7.984 kB / 0.5614 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.1396, allocations: 79.22 kB / 0.5615 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1396, allocations: 0 / 0.5615 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1399, allocations: 43.92 kB / 0.5616 GB, free: 0.8203 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.0002837/0.1402, allocations: 139.3 kB / 0.5617 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.59e-05/0.1402, allocations: 4 kB / 0.5617 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1402, allocations: 4 kB / 0.5617 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.1403, allocations: 33.69 kB / 0.5617 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1405, allocations: 7.938 kB / 0.5617 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.1407, allocations: 106.7 kB / 0.5618 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.141, allocations: 0.6809 MB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.141, allocations: 7.438 kB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.141, allocations: 0 / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Templates: time 0.002748/0.1438, allocations: 0.9334 MB / 0.5634 GB, free: 14.84 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.343180062947795]