Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.0008866/0.0008866, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001288/0.001288, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.9877/0.9877, allocations: 177 MB / 205.2 MB, free: 5.055 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.104e-05, allocations: 2.312 kB / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001994/0.002015, allocations: 1.485 MB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001666/0.002181, allocations: 35.84 kB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.002234, allocations: 0 / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.002258, allocations: 3.938 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.685e-05/0.002295, allocations: 3.938 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.002491, allocations: 23.91 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.002557, allocations: 27.92 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.002625, allocations: 11.98 kB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.002674, allocations: 15.92 kB / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.315e-05/0.002707, allocations: 11.98 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.002725, allocations: 8 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.002732, allocations: 4 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.002748, allocations: 3.938 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.002765, allocations: 11.98 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.231e-05/0.002838, allocations: 19.97 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.00284, allocations: 0 / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.002841, allocations: 0 / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.002844, allocations: 3.938 kB / 275 MB, free: 15.41 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.0002378/0.003081, allocations: 244.9 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.003111, allocations: 15.92 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.003135, allocations: 12.92 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.003245, allocations: 113.8 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.003259, allocations: 4.375 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.003267, allocations: 4.375 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.003412, allocations: 104.5 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.003418, allocations: 192 / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.003424, allocations: 384 / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.003427, allocations: 384 / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.669e-05/0.003444, allocations: 15.88 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.178e-05/0.003496, allocations: 60.98 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.925e-05/0.003545, allocations: 26.56 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.003564, allocations: 16.84 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.003571, allocations: 4 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.003588, allocations: 34.55 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.003589, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.735e-05/0.003676, allocations: 45.62 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.003713, allocations: 55.41 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.952e-05/0.003762, allocations: 110.7 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.003774, allocations: 33.7 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.945e-05/0.003794, allocations: 84.12 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.003803, allocations: 4 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.003822, allocations: 9.719 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.003886, allocations: 326.7 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-06/0.00389, allocations: 0 / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.003896, allocations: 7.984 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.005e-05/0.003917, allocations: 4.859 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.003918, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.624e-05/0.003954, allocations: 41.7 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.003965, allocations: 4 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.003969, allocations: 0 / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.003977, allocations: 4 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.408e-05/0.004011, allocations: 3.984 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.004013, allocations: 0 / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/0.004023, allocations: 8.141 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-06/0.004026, allocations: 0 / 276.4 MB, free: 13.87 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.952e-05/0.004075, allocations: 113.8 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.004104, allocations: 49.61 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.00412, allocations: 4.031 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.004121, allocations: 4 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.004123, allocations: 0 / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.004125, allocations: 0 / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.164e-05/0.004166, allocations: 73.83 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004167, allocations: 0 / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.004198, allocations: 8 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004199, allocations: 0 / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.004203, allocations: 0 / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.004203, allocations: 0 / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.004205, allocations: 4 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.621e-05/0.004241, allocations: 57.06 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.004247, allocations: 4 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.004256, allocations: 0 / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.004267, allocations: 4.25 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-06/0.004269, allocations: 0 / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.004273, allocations: 4 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.319e-05/0.004286, allocations: 28.7 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.004286, allocations: 0 / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.487e-05/0.004371, allocations: 4 kB / 276.8 MB, free: 13.46 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.806e-05/0.004439, allocations: 76.42 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.688e-05/0.004486, allocations: 20.84 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.004488, allocations: 0 / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.004489, allocations: 0 / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.004592, allocations: 21.38 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.00476, allocations: 119.1 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.004787, allocations: 63.28 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.702e-05/0.004804, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.004837, allocations: 51.38 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.004838, allocations: 0 / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Templates: time 0.001775/0.006613, allocations: 484.4 kB / 277.6 MB, free: 12.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.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.5187673131003976]