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.001/0.001, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001017/0.001017, allocations: 160.5 kB / 24.55 MB, free: 12 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 0.9724/0.9724, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.313e-06/1.313e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.34e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001714/0.001727, allocations: 1.497 MB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.00196, allocations: 103.5 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.002012, allocations: 0 / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.00204, allocations: 3.938 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.002077, allocations: 7.922 kB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.00229, allocations: 27.91 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.002369, allocations: 31.91 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.002452, allocations: 8 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.002494, allocations: 15.92 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.002531, allocations: 7.984 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.002548, allocations: 0 / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.002557, allocations: 4 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.002573, allocations: 4 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.002598, allocations: 11.92 kB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.925e-05/0.002667, allocations: 19.92 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002669, allocations: 0 / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00267, allocations: 4 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.002673, allocations: 0 / 274.6 MB, free: 15.7 MB / 266.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.0003134/0.002986, allocations: 364.6 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.003023, allocations: 15.97 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.003057, allocations: 8.891 kB / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.003201, allocations: 120.6 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.003209, allocations: 384 / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.003219, allocations: 4.375 kB / 275.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.003415, allocations: 110.2 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.003423, allocations: 8.125 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003431, allocations: 384 / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.003437, allocations: 384 / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.003461, allocations: 7.938 kB / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.972e-05/0.003551, allocations: 120.6 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.61e-05/0.003627, allocations: 46.98 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.003654, allocations: 11.72 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.003675, allocations: 8 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.003693, allocations: 41.44 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.003694, allocations: 0 / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001249/0.003819, allocations: 49.69 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.003852, allocations: 59.33 kB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.003922, allocations: 165.9 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.00393, allocations: 25.7 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.003966, allocations: 138.9 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.003969, allocations: 0 / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.003985, allocations: 15.38 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.004088, allocations: 492.1 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-06/0.004092, allocations: 4 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-06/0.004095, allocations: 4 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.004121, allocations: 119.2 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-05/0.004146, allocations: 123.2 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.217e-05/0.004178, allocations: 29.7 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.004213, allocations: 130 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.004239, allocations: 123.1 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.735e-05/0.004296, allocations: 242.4 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-05/0.004321, allocations: 123.1 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.995e-05/0.004371, allocations: 238.4 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.004422, allocations: 127.1 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.004446, allocations: 127.1 kB / 277.8 MB, free: 12.34 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 9.296e-05/0.004539, allocations: 275.8 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.004595, allocations: 49.83 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.004622, allocations: 8.047 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.004625, allocations: 3.984 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.004629, allocations: 4.234 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.004632, allocations: 3.938 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.644e-05/0.004688, allocations: 124.5 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.004691, allocations: 0 / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.004757, allocations: 15.92 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.004761, allocations: 4 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.004766, allocations: 0 / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.004769, allocations: 0 / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004769, allocations: 0 / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.934e-05/0.004839, allocations: 88.33 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-06/0.004844, allocations: 0 / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.004855, allocations: 8 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.004864, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.004866, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.00487, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.004903, allocations: 127.2 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004903, allocations: 4 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.005032, allocations: 4 kB / 278.5 MB, free: 11.56 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 6.935e-05/0.005102, allocations: 107.1 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.401e-05/0.005146, allocations: 7.984 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005147, allocations: 0 / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.005148, allocations: 0 / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.0053, allocations: 9.984 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.005501, allocations: 121.2 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.305e-05/0.005534, allocations: 63.34 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.398e-06/0.005538, allocations: 0 / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.00556, allocations: 12.44 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of SimCode: time 3e-07/0.00556, allocations: 0 / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of Templates: time 0.00167/0.007231, allocations: 310.9 kB / 279.1 MB, free: 10.88 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","",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.9226421797648072]