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.0008912/0.0008912, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001033/0.001033, allocations: 167.2 kB / 24.99 MB, free: 8.793 MB / 18.57 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.096/1.096, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 2.255e-06/2.255e-06, allocations: 0 / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.727e-05/3.953e-05, allocations: 2.312 kB / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003665/0.003705, allocations: 1.521 MB / 274.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000403/0.004108, allocations: 99.61 kB / 274.7 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.004213, allocations: 7.938 kB / 274.7 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.004257, allocations: 0 / 274.7 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.00432, allocations: 7.922 kB / 274.7 MB, free: 208 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.004647, allocations: 19.92 kB / 274.7 MB, free: 188 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.004769, allocations: 27.91 kB / 274.7 MB, free: 160 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.00489, allocations: 4 kB / 274.7 MB, free: 156 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.004958, allocations: 11.98 kB / 274.8 MB, free: 144 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.005017, allocations: 19.86 kB / 274.8 MB, free: 124 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.005049, allocations: 8 kB / 274.8 MB, free: 116 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-06/0.005058, allocations: 0 / 274.8 MB, free: 116 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.005079, allocations: 4 kB / 274.8 MB, free: 112 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.005118, allocations: 4 kB / 274.8 MB, free: 108 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.005239, allocations: 27.84 kB / 274.8 MB, free: 80 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.005246, allocations: 0 / 274.8 MB, free: 80 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.005248, allocations: 0 / 274.8 MB, free: 80 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.005253, allocations: 0 / 274.8 MB, free: 80 kB / 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.0005051/0.005758, allocations: 368.6 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.005814, allocations: 12.03 kB / 275.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.005869, allocations: 12.89 kB / 275.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.006082, allocations: 108.6 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.0061, allocations: 8.375 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.006113, allocations: 4.359 kB / 275.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.00644, allocations: 118.1 kB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.006448, allocations: 192 / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.00646, allocations: 384 / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.006471, allocations: 4.375 kB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.006517, allocations: 11.92 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.006664, allocations: 112.6 kB / 275.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006782, allocations: 47.03 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.006826, allocations: 15.72 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.006846, allocations: 0 / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.00688, allocations: 49.3 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.006881, allocations: 0 / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002043/0.007085, allocations: 53.69 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.007141, allocations: 55.41 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.007252, allocations: 165.9 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.007268, allocations: 29.7 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.007326, allocations: 130.9 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-06/0.00733, allocations: 0 / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.00736, allocations: 19.38 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.007522, allocations: 496.1 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-06/0.007529, allocations: 256 / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.007536, allocations: 3.938 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.007579, allocations: 123.2 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-05/0.007614, allocations: 119.2 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.298e-05/0.007677, allocations: 29.7 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.007726, allocations: 127.2 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/0.007765, allocations: 127.2 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.2e-05/0.007847, allocations: 242.3 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.007884, allocations: 123.2 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.51e-05/0.007959, allocations: 242.3 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.008036, allocations: 127.1 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.008297, allocations: 119.2 kB / 278 MB, free: 12.72 MB / 266.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 0.0001406/0.008438, allocations: 275.8 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.008538, allocations: 49.58 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.008586, allocations: 12 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.00859, allocations: 4 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.008595, allocations: 0 / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.008604, allocations: 7.922 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.919e-05/0.008704, allocations: 112.6 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.00871, allocations: 0 / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.008857, allocations: 11.98 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.008862, allocations: 0 / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.008871, allocations: 4 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.008876, allocations: 0 / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.008877, allocations: 0 / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.009002, allocations: 88.31 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.009018, allocations: 15.89 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.009033, allocations: 0 / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.009068, allocations: 0 / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-06/0.009072, allocations: 288 / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.00908, allocations: 0 / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.491e-05/0.009135, allocations: 135.2 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009135, allocations: 0 / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.009362, allocations: 0 / 278.7 MB, free: 11.94 MB / 266.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 0.0001346/0.009496, allocations: 99.19 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.668e-05/0.009573, allocations: 11.98 kB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.009576, allocations: 0 / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.009576, allocations: 0 / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.009836, allocations: 25.08 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.01023, allocations: 113.2 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.646e-05/0.01027, allocations: 59.34 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.203e-05/0.01029, allocations: 0 / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.01032, allocations: 8.5 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01032, allocations: 4 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of Templates: time 0.002009/0.01233, allocations: 310.4 kB / 279.3 MB, free: 11.26 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0717383741866797]