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.00126/0.00126, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001358/0.001358, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.47/1.47, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2286/0.2286, allocations: 46.93 MB / 357.8 MB, free: 10.28 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.002061/0.002061, allocations: 67.91 kB / 0.4921 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1264, allocations: 65.99 MB / 0.5565 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001686/0.128, allocations: 0.4982 MB / 0.557 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003217/0.1284, allocations: 100.3 kB / 0.5571 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.1284, allocations: 0 / 0.5571 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.1284, allocations: 0 / 0.5571 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1286, allocations: 19.92 kB / 0.5571 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.643e-05/0.1286, allocations: 0 / 0.5571 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.1287, allocations: 11.92 kB / 0.5571 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.1287, allocations: 4 kB / 0.5571 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.1288, allocations: 3.938 kB / 0.5571 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.1288, allocations: 8 kB / 0.5571 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1288, allocations: 0 / 0.5571 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.1289, allocations: 23.97 kB / 0.5571 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.1289, allocations: 3.984 kB / 0.5571 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.1289, allocations: 3.938 kB / 0.5572 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.776e-05/0.129, allocations: 15.98 kB / 0.5572 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.129, allocations: 0 / 0.5572 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.129, allocations: 3.938 kB / 0.5572 GB, free: 4.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.129, allocations: 4 kB / 0.5572 GB, free: 4.617 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.0004191/0.1295, allocations: 319.5 kB / 0.5575 GB, free: 4.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1295, allocations: 12.03 kB / 0.5575 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.1295, allocations: 0.9375 kB / 0.5575 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1297, allocations: 160.4 kB / 0.5576 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1297, allocations: 4.375 kB / 0.5577 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1297, allocations: 4.375 kB / 0.5577 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1298, allocations: 38.19 kB / 0.5577 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1298, allocations: 192 / 0.5577 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1299, allocations: 7.938 kB / 0.5577 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1299, allocations: 0 / 0.5577 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.1299, allocations: 8 kB / 0.5577 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.1301, allocations: 149.7 kB / 0.5578 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1303, allocations: 34.61 kB / 0.5579 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.1303, allocations: 20.73 kB / 0.5579 GB, free: 3.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.1307, allocations: 117.1 kB / 0.558 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1307, allocations: 34.56 kB / 0.558 GB, free: 3.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1307, allocations: 0 / 0.558 GB, free: 3.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001253/0.132, allocations: 193.3 kB / 0.5582 GB, free: 3.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.132, allocations: 59.41 kB / 0.5583 GB, free: 3.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.1321, allocations: 89.86 kB / 0.5584 GB, free: 3.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1321, allocations: 25.7 kB / 0.5584 GB, free: 3.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.1322, allocations: 84.12 kB / 0.5585 GB, free: 3.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1322, allocations: 19.89 kB / 0.5585 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.1322, allocations: 21.84 kB / 0.5585 GB, free: 3.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1324, allocations: 314.8 kB / 0.5588 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.1325, allocations: 19.98 kB / 0.5588 GB, free: 2.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.1326, allocations: 15.98 kB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1327, allocations: 49.02 kB / 0.5589 GB, free: 2.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1327, allocations: 4 kB / 0.5589 GB, free: 2.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000205/0.1329, allocations: 81.59 kB / 0.559 GB, free: 2.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1329, allocations: 7.938 kB / 0.559 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1329, allocations: 0 / 0.559 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.133, allocations: 0 / 0.559 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1331, allocations: 15.98 kB / 0.559 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1331, allocations: 0 / 0.559 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.1332, allocations: 4 kB / 0.559 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1332, allocations: 7.984 kB / 0.559 GB, free: 2.488 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 9.56e-05/0.1333, allocations: 116 kB / 0.5591 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1333, allocations: 7.891 kB / 0.5591 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.1336, allocations: 93.14 kB / 0.5592 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1336, allocations: 3.938 kB / 0.5592 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1336, allocations: 0 / 0.5592 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1336, allocations: 0 / 0.5592 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007396/0.1343, allocations: 355.3 kB / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1343, allocations: 0 / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/0.1344, allocations: 11.98 kB / 0.5596 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1344, allocations: 4 kB / 0.5596 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1344, allocations: 4 kB / 0.5596 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1344, allocations: 7.922 kB / 0.5596 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1344, allocations: 8.016 kB / 0.5596 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1347, allocations: 180.2 kB / 0.5598 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.1347, allocations: 81.25 kB / 0.5598 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1348, allocations: 8 kB / 0.5599 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.1349, allocations: 4 kB / 0.5599 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.1349, allocations: 11.98 kB / 0.5599 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.1349, allocations: 0 / 0.5599 GB, free: 1.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.1349, allocations: 75.28 kB / 0.5599 GB, free: 1.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1349, allocations: 4 kB / 0.5599 GB, free: 1.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1352, allocations: 7.938 kB / 0.56 GB, free: 1.418 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.0001547/0.1353, allocations: 103.2 kB / 0.5601 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1355, allocations: 51.92 kB / 0.5601 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1355, allocations: 0 / 0.5601 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.1356, allocations: 27.97 kB / 0.5601 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.1359, allocations: 4 kB / 0.5601 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.1363, allocations: 151.6 kB / 0.5603 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1366, allocations: 0.6729 MB / 0.5609 GB, free: 348 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.1367, allocations: 23.42 kB / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1367, allocations: 0 / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of Templates: time 0.002469/0.1391, allocations: 0.6655 MB / 0.5616 GB, free: 15.65 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/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: 7.343697798991343]