Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2353/0.2353, allocations: 46.93 MB / 357.1 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.91 kB / 0.4914 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 65.99 MB / 0.5558 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001941/0.1324, allocations: 0.4931 MB / 0.5563 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003907/0.1328, allocations: 108.2 kB / 0.5564 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.1328, allocations: 0 / 0.5564 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.1328, allocations: 0 / 0.5564 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.133, allocations: 15.92 kB / 0.5564 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.97e-05/0.133, allocations: 4 kB / 0.5564 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.1331, allocations: 0 / 0.5564 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.1332, allocations: 11.98 kB / 0.5564 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.1332, allocations: 7.922 kB / 0.5565 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.1332, allocations: 7.938 kB / 0.5565 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1332, allocations: 4 kB / 0.5565 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1333, allocations: 15.98 kB / 0.5565 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1334, allocations: 0 / 0.5565 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.1334, allocations: 7.938 kB / 0.5565 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.759e-05/0.1335, allocations: 19.95 kB / 0.5565 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1335, allocations: 0 / 0.5565 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1335, allocations: 0 / 0.5565 GB, free: 4.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1335, allocations: 0 / 0.5565 GB, free: 4.68 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.0004/0.1339, allocations: 329.5 kB / 0.5568 GB, free: 4.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1339, allocations: 12.03 kB / 0.5568 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1339, allocations: 0.9375 kB / 0.5568 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.1341, allocations: 164.4 kB / 0.557 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.1341, allocations: 384 / 0.557 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1342, allocations: 384 / 0.557 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1343, allocations: 34.25 kB / 0.557 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1343, allocations: 192 / 0.557 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1343, allocations: 7.938 kB / 0.557 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1343, allocations: 4 kB / 0.557 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.1343, allocations: 11.94 kB / 0.557 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.1345, allocations: 149.7 kB / 0.5572 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1347, allocations: 38.59 kB / 0.5572 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.1348, allocations: 16.8 kB / 0.5572 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004163/0.1352, allocations: 121.1 kB / 0.5574 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1352, allocations: 34.56 kB / 0.5574 GB, free: 3.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.1352, allocations: 0 / 0.5574 GB, free: 3.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.00146/0.1367, allocations: 189.3 kB / 0.5576 GB, free: 3.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.1368, allocations: 55.41 kB / 0.5576 GB, free: 3.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1369, allocations: 97.8 kB / 0.5577 GB, free: 3.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.137, allocations: 25.7 kB / 0.5577 GB, free: 3.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.137, allocations: 80.14 kB / 0.5578 GB, free: 3.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.1371, allocations: 15.89 kB / 0.5578 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.1371, allocations: 17.72 kB / 0.5579 GB, free: 3.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.1374, allocations: 314.8 kB / 0.5582 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1375, allocations: 24.09 kB / 0.5582 GB, free: 2.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.1376, allocations: 19.98 kB / 0.5582 GB, free: 2.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1378, allocations: 44.83 kB / 0.5582 GB, free: 2.672 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1378, allocations: 0 / 0.5582 GB, free: 2.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002447/0.138, allocations: 77.86 kB / 0.5583 GB, free: 2.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.1381, allocations: 9.812 kB / 0.5583 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1381, allocations: 7.984 kB / 0.5583 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.1381, allocations: 3.938 kB / 0.5583 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.1382, allocations: 15.98 kB / 0.5583 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1382, allocations: 0 / 0.5583 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.159e-05/0.1383, allocations: 4 kB / 0.5583 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1383, allocations: 0 / 0.5583 GB, free: 2.551 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 0.0001258/0.1385, allocations: 120 kB / 0.5585 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1385, allocations: 7.891 kB / 0.5585 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.1388, allocations: 85.22 kB / 0.5586 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1388, allocations: 0 / 0.5586 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1388, allocations: 0 / 0.5586 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1388, allocations: 11.92 kB / 0.5586 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.1396, allocations: 347.3 kB / 0.5589 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1396, allocations: 0 / 0.5589 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1397, allocations: 23.92 kB / 0.5589 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1397, allocations: 0 / 0.5589 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1397, allocations: 0 / 0.5589 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/0.1397, allocations: 7.984 kB / 0.5589 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1397, allocations: 3.938 kB / 0.5589 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.14, allocations: 180.3 kB / 0.5591 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.1401, allocations: 85.06 kB / 0.5592 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.1401, allocations: 3.984 kB / 0.5592 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1402, allocations: 4.188 kB / 0.5592 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.1402, allocations: 11.92 kB / 0.5592 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1402, allocations: 7.938 kB / 0.5592 GB, free: 1.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.005e-05/0.1403, allocations: 79.28 kB / 0.5593 GB, free: 1.484 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 0 / 0.5593 GB, free: 1.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1405, allocations: 15.94 kB / 0.5593 GB, free: 1.469 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.0001553/0.1407, allocations: 99.23 kB / 0.5594 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1409, allocations: 47.89 kB / 0.5594 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1409, allocations: 0 / 0.5594 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.141, allocations: 32.02 kB / 0.5595 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.1412, allocations: 0 / 0.5595 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.1417, allocations: 133.8 kB / 0.5596 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.142, allocations: 0.6733 MB / 0.5603 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.1421, allocations: 8.062 kB / 0.5603 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1421, allocations: 11.42 kB / 0.5603 GB, free: 412 kB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1421, allocations: 0 / 0.5603 GB, free: 412 kB / 414.1 MB Notification: Performance of Templates: time 0.00346/0.1456, allocations: 0.662 MB / 0.5609 GB, free: 15.74 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.125996720045805]