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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.658/1.658, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 101.4 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 55.89 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2835, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002449/0.286, allocations: 1.482 MB / 408.5 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.2862, allocations: 39.84 kB / 408.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.2863, allocations: 0 / 408.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.2863, allocations: 0 / 408.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.296e-05/0.2864, allocations: 6.656 kB / 408.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.2866, allocations: 27.95 kB / 408.6 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.2867, allocations: 27.92 kB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.2868, allocations: 8 kB / 408.6 MB, free: 26.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.2869, allocations: 11.88 kB / 408.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.2869, allocations: 19.91 kB / 408.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2869, allocations: 4 kB / 408.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.287, allocations: 3.5 kB / 408.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.287, allocations: 0 / 408.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.287, allocations: 19.86 kB / 408.7 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2871, allocations: 27.91 kB / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2871, allocations: 0 / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2871, allocations: 0 / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.2872, allocations: 0 / 408.7 MB, free: 26.14 MB / 298.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.000432/0.2876, allocations: 345 kB / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2876, allocations: 12.88 kB / 409.1 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.2877, allocations: 8.844 kB / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2879, allocations: 176.3 kB / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2879, allocations: 384 / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2879, allocations: 4.375 kB / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.2882, allocations: 119.8 kB / 409.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2882, allocations: 192 / 409.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2883, allocations: 11.94 kB / 409.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.2883, allocations: 0 / 409.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2884, allocations: 23.97 kB / 409.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.2885, allocations: 157.6 kB / 409.6 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2886, allocations: 58.48 kB / 409.6 MB, free: 25.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.2887, allocations: 28.92 kB / 409.6 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-06/0.2887, allocations: 0 / 409.6 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.2888, allocations: 42.55 kB / 409.7 MB, free: 25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.2888, allocations: 0 / 409.7 MB, free: 25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002607/0.289, allocations: 85.5 kB / 409.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.2891, allocations: 51.41 kB / 409.8 MB, free: 24.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.2892, allocations: 109.8 kB / 409.9 MB, free: 24.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.2892, allocations: 25.7 kB / 410 MB, free: 24.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.2892, allocations: 88.14 kB / 410 MB, free: 24.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.2892, allocations: 3.938 kB / 410 MB, free: 24.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.2892, allocations: 21.72 kB / 410.1 MB, free: 24.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.2893, allocations: 318.8 kB / 410.4 MB, free: 24.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.2893, allocations: 8 kB / 410.4 MB, free: 24.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.2893, allocations: 23.44 kB / 410.4 MB, free: 24.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.2894, allocations: 43.38 kB / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2894, allocations: 0 / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.354e-05/0.2895, allocations: 61.53 kB / 410.5 MB, free: 24.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2895, allocations: 4 kB / 410.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2895, allocations: 7.938 kB / 410.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2895, allocations: 3.938 kB / 410.5 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.295e-05/0.2896, allocations: 12.11 kB / 410.5 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2896, allocations: 7.938 kB / 410.5 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.2896, allocations: 4 kB / 410.5 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.2896, allocations: 192 / 410.6 MB, free: 24.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.146e-05/0.2897, allocations: 119.3 kB / 410.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2898, allocations: 69.66 kB / 410.7 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.2899, allocations: 7.844 kB / 410.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2899, allocations: 0 / 410.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2899, allocations: 3.938 kB / 410.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2899, allocations: 7.984 kB / 410.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.52e-05/0.29, allocations: 157.6 kB / 410.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.29, allocations: 0 / 410.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.29, allocations: 11.98 kB / 410.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.29, allocations: 0 / 410.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.29, allocations: 11.94 kB / 410.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.29, allocations: 3.938 kB / 410.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.29, allocations: 0 / 410.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.2904, allocations: 0.6552 MB / 411.6 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.2904, allocations: 81.02 kB / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2904, allocations: 384 / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/0.2905, allocations: 7.984 kB / 411.7 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-06/0.2905, allocations: 4 kB / 411.7 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2905, allocations: 0 / 411.7 MB, free: 22.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.462e-05/0.2905, allocations: 87.28 kB / 411.8 MB, free: 22.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2905, allocations: 0 / 411.8 MB, free: 22.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.2908, allocations: 4 kB / 411.8 MB, free: 22.68 MB / 298.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 0.0001011/0.2909, allocations: 103.2 kB / 411.9 MB, free: 22.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.291, allocations: 31.92 kB / 411.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.291, allocations: 4 kB / 411.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.291, allocations: 0 / 411.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.2914, allocations: 32.52 kB / 411.9 MB, free: 22.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.2917, allocations: 234.5 kB / 412.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2919, allocations: 0.6809 MB / 412.8 MB, free: 21.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.241e-05/0.2919, allocations: 3.984 kB / 412.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.2919, allocations: 11.44 kB / 412.9 MB, free: 21.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2919, allocations: 3.938 kB / 412.9 MB, free: 21.51 MB / 298.7 MB Notification: Performance of Templates: time 0.002134/0.2941, allocations: 435.5 kB / 413.3 MB, free: 21.1 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches