Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.00175/0.00175, allocations: 112.9 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.001457/0.001457, 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.456/1.456, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.2251/0.2251, allocations: 46.89 MB / 358.1 MB, free: 10.53 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep") [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.002204/0.002204, allocations: 79.86 kB / 0.4923 GB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1346, allocations: 65.98 MB / 0.5568 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001575/0.1361, allocations: 0.4987 MB / 0.5573 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.1365, allocations: 103.7 kB / 0.5574 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.1365, allocations: 0 / 0.5574 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.1365, allocations: 3.938 kB / 0.5574 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1367, allocations: 15.92 kB / 0.5574 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.577e-05/0.1367, allocations: 0 / 0.5574 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.632e-05/0.1368, allocations: 4 kB / 0.5574 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.1368, allocations: 0.5312 kB / 0.5574 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.1368, allocations: 7.938 kB / 0.5574 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1369, allocations: 11.97 kB / 0.5574 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1369, allocations: 0 / 0.5574 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.233e-05/0.137, allocations: 23.98 kB / 0.5574 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.137, allocations: 0 / 0.5574 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.137, allocations: 3.938 kB / 0.5574 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.242e-05/0.1371, allocations: 23.91 kB / 0.5575 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1371, allocations: 0 / 0.5575 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1371, allocations: 0 / 0.5575 GB, free: 5.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1371, allocations: 3.938 kB / 0.5575 GB, free: 5.277 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.0003773/0.1375, allocations: 323.5 kB / 0.5578 GB, free: 4.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1375, allocations: 12.03 kB / 0.5578 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.1376, allocations: 0.9375 kB / 0.5578 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1377, allocations: 164.4 kB / 0.5579 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.1377, allocations: 8.375 kB / 0.5579 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1377, allocations: 384 / 0.5579 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.897e-05/0.1378, allocations: 38.23 kB / 0.558 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1379, allocations: 192 / 0.558 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1379, allocations: 3.938 kB / 0.558 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1379, allocations: 0 / 0.558 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.1379, allocations: 8 kB / 0.558 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.1381, allocations: 153.7 kB / 0.5581 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1383, allocations: 38.55 kB / 0.5582 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.1383, allocations: 16.86 kB / 0.5582 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/0.1387, allocations: 109.2 kB / 0.5583 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1387, allocations: 42.48 kB / 0.5583 GB, free: 4.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1387, allocations: 0 / 0.5583 GB, free: 4.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001288/0.14, allocations: 189.3 kB / 0.5585 GB, free: 4.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.14, allocations: 59.34 kB / 0.5586 GB, free: 3.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.1401, allocations: 89.86 kB / 0.5587 GB, free: 3.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1401, allocations: 29.7 kB / 0.5587 GB, free: 3.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.1402, allocations: 80.14 kB / 0.5588 GB, free: 3.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1402, allocations: 11.91 kB / 0.5588 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.1402, allocations: 21.7 kB / 0.5588 GB, free: 3.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1404, allocations: 318.8 kB / 0.5591 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.741e-05/0.1405, allocations: 20.11 kB / 0.5591 GB, free: 3.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.1406, allocations: 23.91 kB / 0.5591 GB, free: 3.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1407, allocations: 49.02 kB / 0.5592 GB, free: 3.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1407, allocations: 0 / 0.5592 GB, free: 3.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002095/0.1409, allocations: 73.67 kB / 0.5593 GB, free: 3.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.141, allocations: 11.94 kB / 0.5593 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.141, allocations: 0 / 0.5593 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.141, allocations: 4 kB / 0.5593 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1411, allocations: 11.98 kB / 0.5593 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1411, allocations: 7.984 kB / 0.5593 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.1412, allocations: 4 kB / 0.5593 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1412, allocations: 0 / 0.5593 GB, free: 3.148 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 (5): * Single equations (assignments): 5 * 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.538e-05/0.1413, allocations: 113.8 kB / 0.5594 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1413, allocations: 15.88 kB / 0.5594 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1416, allocations: 85.22 kB / 0.5595 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1416, allocations: 0 / 0.5595 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1416, allocations: 0 / 0.5595 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1416, allocations: 0 / 0.5595 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.1423, allocations: 359.3 kB / 0.5598 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1423, allocations: 0 / 0.5598 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.1424, allocations: 15.98 kB / 0.5599 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1424, allocations: 0 / 0.5599 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1424, allocations: 0 / 0.5599 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1424, allocations: 0 / 0.5599 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1424, allocations: 7.938 kB / 0.5599 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1427, allocations: 188.7 kB / 0.56 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1428, allocations: 81.06 kB / 0.5601 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1428, allocations: 4 kB / 0.5601 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1429, allocations: 11.98 kB / 0.5601 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.1429, allocations: 3.984 kB / 0.5601 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.1429, allocations: 7.984 kB / 0.5602 GB, free: 2.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.143, allocations: 79.28 kB / 0.5602 GB, free: 2.086 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.143, allocations: 0 / 0.5602 GB, free: 2.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1432, allocations: 11.94 kB / 0.5602 GB, free: 2.074 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001621/0.1433, allocations: 103.2 kB / 0.5603 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1436, allocations: 51.83 kB / 0.5604 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1436, allocations: 0 / 0.5604 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.1437, allocations: 28.08 kB / 0.5604 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1439, allocations: 4 kB / 0.5604 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.1443, allocations: 155.6 kB / 0.5606 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1447, allocations: 0.6768 MB / 0.5612 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.1447, allocations: 7.438 kB / 0.5612 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1447, allocations: 4 kB / 0.5612 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of Templates: time 0.00229/0.147, allocations: 0.6612 MB / 0.5619 GB, free: 324 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.340157933998853]