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.001933/0.001933, allocations: 120.9 kB / 19.18 MB, free: 3.824 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.002334/0.002334, allocations: 202.6 kB / 22.12 MB, free: 0.8789 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.432/1.432, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.2226/0.2226, allocations: 46.93 MB / 358.2 MB, free: 10.39 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.002267/0.002267, allocations: 83.86 kB / 0.4925 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1276, allocations: 66.02 MB / 0.557 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001721/0.1293, allocations: 494.4 kB / 0.5574 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1313, allocations: 1.407 MB / 0.5588 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.1313, allocations: 4 kB / 0.5588 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.1313, allocations: 3.938 kB / 0.5588 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.94e-05/0.1314, allocations: 0 / 0.5588 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.1321, allocations: 215 kB / 0.559 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.887e-05/0.1322, allocations: 11.94 kB / 0.559 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.1322, allocations: 0 / 0.559 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.1322, allocations: 7.984 kB / 0.559 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.1323, allocations: 7.984 kB / 0.559 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1323, allocations: 0 / 0.559 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1327, allocations: 279.6 kB / 0.5593 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.1327, allocations: 4 kB / 0.5593 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.1328, allocations: 3.984 kB / 0.5593 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.133, allocations: 135.7 kB / 0.5594 GB, free: 2.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.133, allocations: 4 kB / 0.5595 GB, free: 2.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.133, allocations: 0 / 0.5595 GB, free: 2.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.133, allocations: 0 / 0.5595 GB, free: 2.926 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.0004349/0.1334, allocations: 335.3 kB / 0.5598 GB, free: 2.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1335, allocations: 15.97 kB / 0.5598 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.1335, allocations: 8.922 kB / 0.5598 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1336, allocations: 172.3 kB / 0.56 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1337, allocations: 384 / 0.56 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1337, allocations: 4.375 kB / 0.56 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1338, allocations: 30.02 kB / 0.56 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1338, allocations: 0 / 0.56 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1338, allocations: 4 kB / 0.56 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1338, allocations: 0 / 0.56 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.1338, allocations: 3.984 kB / 0.56 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.134, allocations: 153.7 kB / 0.5601 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.078e-05/0.134, allocations: 18.52 kB / 0.5602 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.1341, allocations: 8.953 kB / 0.5602 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.1341, allocations: 0 / 0.5602 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.1341, allocations: 42.48 kB / 0.5602 GB, free: 1.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1341, allocations: 0 / 0.5602 GB, free: 1.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001403/0.1342, allocations: 37.7 kB / 0.5603 GB, free: 1.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1343, allocations: 51.41 kB / 0.5603 GB, free: 1.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.1344, allocations: 97.8 kB / 0.5604 GB, free: 1.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1344, allocations: 25.7 kB / 0.5604 GB, free: 1.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.1344, allocations: 80.14 kB / 0.5605 GB, free: 1.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1345, allocations: 15.88 kB / 0.5605 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.1345, allocations: 13.72 kB / 0.5605 GB, free: 1.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1346, allocations: 311.1 kB / 0.5608 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.1346, allocations: 4 kB / 0.5608 GB, free: 1.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.1346, allocations: 0 / 0.5608 GB, free: 1.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.1347, allocations: 8.859 kB / 0.5608 GB, free: 1.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1347, allocations: 0 / 0.5608 GB, free: 1.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.271e-05/0.1347, allocations: 41.69 kB / 0.5609 GB, free: 1.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1347, allocations: 7.938 kB / 0.5609 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1347, allocations: 0 / 0.5609 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1348, allocations: 4 kB / 0.5609 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.1348, allocations: 8.031 kB / 0.5609 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1348, allocations: 0 / 0.5609 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.1348, allocations: 0 / 0.5609 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1348, allocations: 0 / 0.5609 GB, free: 1.23 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 7.08e-05/0.1349, allocations: 109.8 kB / 0.561 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.1349, allocations: 3.938 kB / 0.561 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.135, allocations: 52.75 kB / 0.561 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.135, allocations: 0 / 0.561 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1351, allocations: 3.984 kB / 0.5611 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1351, allocations: 4 kB / 0.5611 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.1352, allocations: 149.6 kB / 0.5612 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1352, allocations: 0 / 0.5612 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1352, allocations: 0 / 0.5612 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1352, allocations: 7.938 kB / 0.5612 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1352, allocations: 4 kB / 0.5612 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1352, allocations: 0 / 0.5612 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1352, allocations: 7.969 kB / 0.5612 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.029e-05/0.1353, allocations: 61.12 kB / 0.5613 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1353, allocations: 81.05 kB / 0.5614 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1353, allocations: 0 / 0.5614 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.1354, allocations: 4 kB / 0.5614 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.1354, allocations: 0 / 0.5614 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.1354, allocations: 0 / 0.5614 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.773e-05/0.1355, allocations: 87.3 kB / 0.5614 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1355, allocations: 0 / 0.5614 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1357, allocations: 39.94 kB / 0.5615 GB, free: 0.5273 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.0002707/0.136, allocations: 139.1 kB / 0.5616 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.136, allocations: 7.938 kB / 0.5616 GB, free: 380 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1361, allocations: 0 / 0.5616 GB, free: 380 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.1361, allocations: 33.7 kB / 0.5617 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.1362, allocations: 4.219 kB / 0.5617 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.1365, allocations: 106.8 kB / 0.5618 GB, free: 196 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1368, allocations: 0.6729 MB / 0.5624 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.1368, allocations: 7.438 kB / 0.5624 GB, free: 15.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1368, allocations: 0 / 0.5624 GB, free: 15.48 MB / 430.1 MB Notification: Performance of Templates: time 0.002665/0.1395, allocations: 0.9126 MB / 0.5633 GB, free: 14.57 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.122214740011259]