Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.003/1.003, allocations: 173.4 MB / 202.2 MB, free: 8.285 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.331e-05, allocations: 5.266 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001704/0.001717, allocations: 1.501 MB / 270.7 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002273/0.001944, allocations: 108.6 kB / 270.8 MB, free: 8.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.002003, allocations: 3.938 kB / 270.8 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.002026, allocations: 0 / 270.8 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.002069, allocations: 10.34 kB / 270.8 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.002251, allocations: 15.98 kB / 270.9 MB, free: 8.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.002322, allocations: 35.78 kB / 270.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.621e-05/0.002398, allocations: 8 kB / 270.9 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.00244, allocations: 11.98 kB / 270.9 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.002475, allocations: 4 kB / 270.9 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.002493, allocations: 4.906 kB / 270.9 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-06/0.0025, allocations: 0 / 270.9 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.002518, allocations: 11.92 kB / 270.9 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.002537, allocations: 8.516 kB / 270.9 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.066e-05/0.002608, allocations: 29.8 kB / 271 MB, free: 8.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002609, allocations: 0 / 271 MB, free: 8.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00261, allocations: 0 / 271 MB, free: 8.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.002613, allocations: 0 / 271 MB, free: 8.043 MB / 250.7 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.0002964/0.002909, allocations: 364.6 kB / 271.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.002943, allocations: 13.34 kB / 271.3 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.002967, allocations: 0.9375 kB / 271.3 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.00309, allocations: 120.6 kB / 271.5 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.0031, allocations: 8.875 kB / 271.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.003107, allocations: 0.9688 kB / 271.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.003269, allocations: 108.1 kB / 271.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.003275, allocations: 192 / 271.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.003281, allocations: 384 / 271.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003286, allocations: 2.219 kB / 271.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.587e-05/0.003301, allocations: 7.938 kB / 271.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.685e-05/0.003378, allocations: 97.25 kB / 271.7 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.241e-05/0.003441, allocations: 39.06 kB / 271.7 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.003465, allocations: 19.73 kB / 271.7 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.00348, allocations: 4.906 kB / 271.7 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.003498, allocations: 41.33 kB / 271.8 MB, free: 7.105 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.003499, allocations: 0.75 kB / 271.8 MB, free: 7.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001062/0.003605, allocations: 53.81 kB / 271.8 MB, free: 7.047 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.003641, allocations: 55.91 kB / 271.9 MB, free: 6.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.003713, allocations: 165.9 kB / 272 MB, free: 6.801 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.003724, allocations: 25.7 kB / 272.1 MB, free: 6.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.003764, allocations: 134.9 kB / 272.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.003765, allocations: 0 / 272.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.003782, allocations: 15.38 kB / 272.2 MB, free: 6.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.003907, allocations: 0.4922 MB / 272.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-06/0.003911, allocations: 7.875 kB / 272.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.003914, allocations: 0 / 272.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.003946, allocations: 119.2 kB / 272.8 MB, free: 5.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.485e-05/0.003981, allocations: 119.2 kB / 272.9 MB, free: 5.863 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.85e-05/0.004019, allocations: 29.7 kB / 273 MB, free: 5.828 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.004053, allocations: 127.2 kB / 273.1 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.004085, allocations: 127.1 kB / 273.2 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.304e-05/0.004138, allocations: 238.4 kB / 273.5 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.577e-05/0.004164, allocations: 119.2 kB / 273.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.366e-05/0.004218, allocations: 250.3 kB / 273.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.004274, allocations: 123.2 kB / 273.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.004302, allocations: 127.1 kB / 274.1 MB, free: 4.734 MB / 250.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 (0): * Single equations (assignments): 0 * 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.599e-05/0.004388, allocations: 275.8 kB / 274.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.004433, allocations: 41.69 kB / 274.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.004461, allocations: 8 kB / 274.4 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.004463, allocations: 4 kB / 274.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.004465, allocations: 256 / 274.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.004468, allocations: 0 / 274.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.024e-05/0.004529, allocations: 113.1 kB / 274.5 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.004533, allocations: 0 / 274.5 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.00459, allocations: 11.98 kB / 274.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.004593, allocations: 0 / 274.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.004598, allocations: 4 kB / 274.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.0046, allocations: 0 / 274.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.004601, allocations: 0 / 274.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.415e-05/0.004645, allocations: 68.33 kB / 274.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.004653, allocations: 11.98 kB / 274.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-06/0.004659, allocations: 0 / 274.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.004667, allocations: 0 / 274.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-06/0.00467, allocations: 0 / 274.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.004674, allocations: 4 kB / 274.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.589e-05/0.00471, allocations: 123.2 kB / 274.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00471, allocations: 0 / 274.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001288/0.004839, allocations: 0 / 274.7 MB, free: 4.008 MB / 250.7 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 6.679e-05/0.004905, allocations: 103.2 kB / 274.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.009e-05/0.004945, allocations: 8 kB / 274.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.004947, allocations: 3.938 kB / 274.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.004947, allocations: 3.938 kB / 274.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.005084, allocations: 13.06 kB / 274.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.00526, allocations: 121.2 kB / 275 MB, free: 3.723 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.005289, allocations: 55.36 kB / 275 MB, free: 3.648 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.711e-06/0.005295, allocations: 0 / 275 MB, free: 3.648 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.005324, allocations: 66.2 kB / 275.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005324, allocations: 0 / 275.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of Templates: time 0.001445/0.006769, allocations: 320.8 kB / 275.4 MB, free: 3.273 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.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.8114196630194783]