Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.00198/0.00198, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.003203/0.003203, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.705/1.705, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 43.94 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1362, allocations: 53.34 MB / 426.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00323/0.1394, allocations: 1.482 MB / 428.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.1397, allocations: 91.73 kB / 428.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.1398, allocations: 4 kB / 428.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.1398, allocations: 7.938 kB / 428.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.1399, allocations: 3.938 kB / 428.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1402, allocations: 23.91 kB / 428.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.1403, allocations: 23.92 kB / 428.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1404, allocations: 8 kB / 428.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.1404, allocations: 11.94 kB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.1405, allocations: 11.92 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1405, allocations: 7.938 kB / 428.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.1405, allocations: 0 / 428.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.1405, allocations: 4 kB / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.1406, allocations: 27.84 kB / 428.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.1407, allocations: 27.84 kB / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1407, allocations: 0 / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1407, allocations: 0 / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1407, allocations: 0 / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000531/0.1412, allocations: 339.4 kB / 428.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1413, allocations: 12.03 kB / 428.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1413, allocations: 4.891 kB / 428.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1416, allocations: 172.4 kB / 429.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1416, allocations: 4.375 kB / 429.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1416, allocations: 8.375 kB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.1419, allocations: 115.8 kB / 429.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1419, allocations: 192 / 429.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1419, allocations: 7.922 kB / 429.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1419, allocations: 4 kB / 429.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.142, allocations: 15.98 kB / 429.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.1422, allocations: 157.6 kB / 429.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1424, allocations: 54.55 kB / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.1425, allocations: 20.92 kB / 429.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1425, allocations: 0 / 429.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1425, allocations: 42.5 kB / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1425, allocations: 0 / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002324/0.1427, allocations: 73.55 kB / 429.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.1428, allocations: 51.41 kB / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1429, allocations: 105.8 kB / 429.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1429, allocations: 29.7 kB / 429.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.143, allocations: 88.14 kB / 429.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.143, allocations: 3.984 kB / 429.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.143, allocations: 17.72 kB / 429.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1432, allocations: 310.8 kB / 430.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.1432, allocations: 4 kB / 430.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/0.1432, allocations: 31.36 kB / 430.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.1433, allocations: 43.38 kB / 430.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1433, allocations: 0 / 430.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.797e-05/0.1434, allocations: 53.62 kB / 430.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1434, allocations: 8 kB / 430.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1434, allocations: 3.938 kB / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1434, allocations: 4.125 kB / 430.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.1435, allocations: 8.25 kB / 430.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1435, allocations: 3.938 kB / 430.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.1435, allocations: 7.953 kB / 430.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1435, allocations: 4 kB / 430.3 MB, free: 0.5117 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001001/0.1436, allocations: 113.8 kB / 430.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1437, allocations: 57.67 kB / 430.5 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.1438, allocations: 11.84 kB / 430.5 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1438, allocations: 4 kB / 430.5 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1438, allocations: 0 / 430.5 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1438, allocations: 4 kB / 430.5 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1439, allocations: 161.6 kB / 430.7 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1439, allocations: 0 / 430.7 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.1439, allocations: 4 kB / 430.7 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1439, allocations: 336 / 430.7 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1439, allocations: 7.938 kB / 430.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1439, allocations: 0 / 430.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1439, allocations: 0 / 430.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1441, allocations: 96.98 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.1442, allocations: 77.11 kB / 430.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1442, allocations: 3.938 kB / 430.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.1442, allocations: 11.92 kB / 430.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-06/0.1442, allocations: 0 / 430.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1442, allocations: 4 kB / 430.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.345e-05/0.1443, allocations: 79.28 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1443, allocations: 4 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.1445, allocations: 4 kB / 430.9 MB, free: 15.77 MB / 366.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 (4): * Single equations (assignments): 4 * 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.0001311/0.1446, allocations: 103.8 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.1447, allocations: 27.92 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1447, allocations: 0 / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1447, allocations: 0 / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.145, allocations: 19.98 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.1453, allocations: 116.4 kB / 431.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1457, allocations: 0.6846 MB / 431.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.26e-05/0.1457, allocations: 3.938 kB / 431.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.1457, allocations: 7.438 kB / 431.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1457, allocations: 0 / 431.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Templates: time 0.002981/0.1487, allocations: 324.7 kB / 432.2 MB, free: 14.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.026374522596598]