Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009813/0.0009813, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 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.0009686/0.0009686, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8269/0.8269, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1213/0.1213, allocations: 32.37 MB / 270.4 MB, free: 14.72 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.924e-05, allocations: 6.312 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001681/0.00171, allocations: 0.557 MB / 348.3 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.005046, allocations: 63.75 kB / 348.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.005077, allocations: 0 / 348.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.005098, allocations: 7.938 kB / 348.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.005337, allocations: 11.98 kB / 348.3 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.496e-05/0.005352, allocations: 7.938 kB / 348.3 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.005401, allocations: 7.922 kB / 348.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.005436, allocations: 4 kB / 348.4 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.005464, allocations: 3.938 kB / 348.4 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.005502, allocations: 7.984 kB / 348.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.005515, allocations: 0 / 348.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.005591, allocations: 19.97 kB / 348.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.005603, allocations: 0 / 348.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.005617, allocations: 8 kB / 348.4 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.561e-05/0.005703, allocations: 19.98 kB / 348.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.005706, allocations: 0 / 348.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005707, allocations: 0 / 348.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.005712, allocations: 0 / 348.4 MB, free: 8.707 MB / 282.7 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.0002464/0.005958, allocations: 344.3 kB / 348.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.005999, allocations: 12.03 kB / 348.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.00604, allocations: 0.9375 kB / 348.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.778e-05/0.006108, allocations: 112.6 kB / 348.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.00612, allocations: 4.375 kB / 348.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.006141, allocations: 0.7188 kB / 348.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.696e-05/0.006218, allocations: 34.27 kB / 348.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.006229, allocations: 8.109 kB / 348.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.006238, allocations: 384 / 348.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.006246, allocations: 384 / 348.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.006274, allocations: 11.92 kB / 348.9 MB, free: 8.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.006386, allocations: 116.6 kB / 349 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.006575, allocations: 43.09 kB / 349.1 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.006599, allocations: 11.69 kB / 349.1 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.006832, allocations: 36.05 kB / 349.1 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.00685, allocations: 37.33 kB / 349.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.006851, allocations: 0 / 349.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007241/0.007575, allocations: 154.2 kB / 349.3 MB, free: 7.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.007598, allocations: 59.33 kB / 349.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.712e-05/0.007635, allocations: 157.9 kB / 349.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.007642, allocations: 29.7 kB / 349.6 MB, free: 7.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.001e-05/0.007652, allocations: 126.9 kB / 349.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.007676, allocations: 15.84 kB / 349.7 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003061/0.01074, allocations: 23.38 kB / 349.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.01078, allocations: 0.4884 MB / 350.2 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.01082, allocations: 8 kB / 350.2 MB, free: 6.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.01084, allocations: 8 kB / 350.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.01089, allocations: 31.86 kB / 350.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.0109, allocations: 0 / 350.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.859e-05/0.01099, allocations: 65.75 kB / 350.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.01101, allocations: 4 kB / 350.3 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01101, allocations: 0 / 350.3 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01103, allocations: 0 / 350.3 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.01113, allocations: 15.98 kB / 350.3 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01114, allocations: 3.938 kB / 350.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.01118, allocations: 3.938 kB / 350.4 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.01119, allocations: 4 kB / 350.4 MB, free: 6.555 MB / 282.7 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 4.464e-05/0.01123, allocations: 160.6 kB / 350.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.01125, allocations: 4 kB / 350.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.01137, allocations: 73.27 kB / 350.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-06/0.01137, allocations: 0 / 350.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01138, allocations: 3.938 kB / 350.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01138, allocations: 0 / 350.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.01174, allocations: 333 kB / 350.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01174, allocations: 0 / 350.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.01179, allocations: 16.02 kB / 350.9 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01179, allocations: 4 kB / 350.9 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.0118, allocations: 3.938 kB / 350.9 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.0118, allocations: 0 / 350.9 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.0118, allocations: 0 / 350.9 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.805e-05/0.01189, allocations: 219.7 kB / 351.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.0119, allocations: 336 / 351.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.01191, allocations: 3.938 kB / 351.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.01197, allocations: 11.98 kB / 351.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.01199, allocations: 4 kB / 351.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.01199, allocations: 7.984 kB / 351.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.373e-05/0.01201, allocations: 123.2 kB / 351.3 MB, free: 5.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01201, allocations: 0 / 351.3 MB, free: 5.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.01224, allocations: 11.94 kB / 351.3 MB, free: 5.508 MB / 282.7 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.0001092/0.01235, allocations: 95.25 kB / 351.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.01245, allocations: 39.61 kB / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01245, allocations: 0 / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.01247, allocations: 23.67 kB / 351.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.01269, allocations: 8.156 kB / 351.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.01294, allocations: 138 kB / 351.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.603e-05/0.01297, allocations: 55.36 kB / 351.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.013, allocations: 15.89 kB / 351.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.01303, allocations: 8.5 kB / 351.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01303, allocations: 0 / 351.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of Templates: time 0.005665/0.01869, allocations: 0.7695 MB / 352.5 MB, free: 4.297 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7092924150638282]