Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002168/0.002168, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002281/0.002281, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/2.995e-05, allocations: 6.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003234/0.003263, allocations: 1.466 MB / 273.7 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.003576, allocations: 99.67 kB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.003641, allocations: 3.938 kB / 273.8 MB, free: 248 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.003665, allocations: 0 / 273.8 MB, free: 248 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.003715, allocations: 11.88 kB / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.003965, allocations: 19.97 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.004061, allocations: 31.86 kB / 273.8 MB, free: 184 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.004158, allocations: 8 kB / 273.8 MB, free: 176 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.004217, allocations: 15.97 kB / 273.8 MB, free: 160 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.004259, allocations: 7.938 kB / 273.8 MB, free: 152 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.004279, allocations: 0 / 273.8 MB, free: 152 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.004292, allocations: 4 kB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.004316, allocations: 7.984 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.004345, allocations: 7.938 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.004455, allocations: 35.89 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004459, allocations: 0 / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00446, allocations: 0 / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004464, allocations: 0 / 273.9 MB, free: 96 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.0005412/0.005005, allocations: 364.2 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.005046, allocations: 15.98 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.005096, allocations: 12.89 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.005287, allocations: 112.6 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.0053, allocations: 4.359 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.005313, allocations: 8.312 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.00564, allocations: 105.5 kB / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.00565, allocations: 192 / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.005658, allocations: 384 / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.005662, allocations: 384 / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.005744, allocations: 23.91 kB / 274.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.005898, allocations: 124.5 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.006062, allocations: 51.05 kB / 274.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.006126, allocations: 31.75 kB / 274.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.006152, allocations: 3.938 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.006188, allocations: 41.39 kB / 274.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006189, allocations: 0 / 274.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000232/0.006421, allocations: 61.67 kB / 274.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.006473, allocations: 55.41 kB / 274.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.006611, allocations: 173.9 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.006635, allocations: 33.69 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.00672, allocations: 130.9 kB / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.006722, allocations: 4 kB / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.006758, allocations: 19.38 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.00703, allocations: 496.1 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-06/0.007038, allocations: 3.938 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-06/0.007041, allocations: 0 / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.007107, allocations: 119.2 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.018e-05/0.007167, allocations: 119.2 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.012e-05/0.007237, allocations: 33.69 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/0.007312, allocations: 123.2 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.875e-05/0.007381, allocations: 127.1 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.007515, allocations: 242.4 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.007577, allocations: 123.2 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001275/0.007704, allocations: 246.3 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.00781, allocations: 123.1 kB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.007874, allocations: 123.1 kB / 277.1 MB, free: 12.69 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.0001828/0.008057, allocations: 283.8 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.008178, allocations: 53.64 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.008211, allocations: 8 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.008215, allocations: 4 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008218, allocations: 0 / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.008224, allocations: 3.938 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.008335, allocations: 116.6 kB / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.008337, allocations: 0 / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.008417, allocations: 8 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.00842, allocations: 4 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.008426, allocations: 3.938 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.008429, allocations: 0 / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00843, allocations: 0 / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.008591, allocations: 100.3 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.008609, allocations: 12.17 kB / 277.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.008621, allocations: 0 / 277.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.008641, allocations: 4 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-06/0.008647, allocations: 3.984 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.008655, allocations: 4 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.439e-05/0.00874, allocations: 135.4 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00874, allocations: 0 / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.008956, allocations: 4 kB / 277.8 MB, free: 11.88 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0001404/0.009096, allocations: 95.19 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.083e-05/0.009187, allocations: 19.92 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009189, allocations: 0 / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.009189, allocations: 4 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.009418, allocations: 17.12 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.009705, allocations: 121.1 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.918e-05/0.009774, allocations: 63.34 kB / 278.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.051e-05/0.009784, allocations: 0 / 278.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.009815, allocations: 12.5 kB / 278.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009815, allocations: 0 / 278.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of Templates: time 0.002839/0.01265, allocations: 318.6 kB / 278.5 MB, free: 11.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.483508576988243]