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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.611/1.611, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3861, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002889/0.389, allocations: 1.437 MB / 410.7 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002286/0.3893, allocations: 35.84 kB / 410.7 MB, free: 108 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.3894, allocations: 4 kB / 410.7 MB, free: 104 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.3894, allocations: 3.938 kB / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.3895, allocations: 0 / 410.7 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.3898, allocations: 23.67 kB / 410.7 MB, free: 80 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3899, allocations: 31.97 kB / 410.8 MB, free: 48 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.39, allocations: 7.938 kB / 410.8 MB, free: 40 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.3901, allocations: 15.92 kB / 410.8 MB, free: 24 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.3902, allocations: 11.94 kB / 410.8 MB, free: 12 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3902, allocations: 0 / 410.8 MB, free: 12 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.3902, allocations: 4 kB / 410.8 MB, free: 8 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.3902, allocations: 12.06 kB / 410.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.3903, allocations: 19.78 kB / 410.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.3904, allocations: 23.91 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3904, allocations: 3.984 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3904, allocations: 0 / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3904, allocations: 0 / 410.9 MB, free: 15.95 MB / 334.1 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.000485/0.3909, allocations: 343.3 kB / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.391, allocations: 12.02 kB / 411.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.391, allocations: 8.891 kB / 411.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3913, allocations: 172.4 kB / 411.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.3913, allocations: 8.375 kB / 411.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3913, allocations: 4.312 kB / 411.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.3917, allocations: 123.8 kB / 411.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3917, allocations: 192 / 411.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3917, allocations: 3.938 kB / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3917, allocations: 3.984 kB / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3918, allocations: 31.92 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.392, allocations: 161.6 kB / 411.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.3922, allocations: 54.55 kB / 411.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.3922, allocations: 24.92 kB / 411.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.3923, allocations: 3.938 kB / 411.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3923, allocations: 34.56 kB / 411.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3923, allocations: 4 kB / 411.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000282/0.3926, allocations: 77.78 kB / 411.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3926, allocations: 59.41 kB / 412 MB, free: 14.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.3927, allocations: 105.8 kB / 412.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3928, allocations: 25.7 kB / 412.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.3928, allocations: 80.14 kB / 412.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.3928, allocations: 4 kB / 412.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3929, allocations: 21.7 kB / 412.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.393, allocations: 318.8 kB / 412.5 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.393, allocations: 7.938 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.3931, allocations: 35.41 kB / 412.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.3931, allocations: 39.38 kB / 412.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3931, allocations: 0 / 412.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.86e-05/0.3932, allocations: 65.58 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3932, allocations: 4 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3932, allocations: 3.938 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3933, allocations: 4 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.3933, allocations: 4.375 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3933, allocations: 4 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.3934, allocations: 12 kB / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3934, allocations: 8 kB / 412.7 MB, free: 13.86 MB / 334.1 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 8.889e-05/0.3935, allocations: 121.7 kB / 412.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3936, allocations: 65.61 kB / 412.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.3936, allocations: 11.84 kB / 412.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3937, allocations: 4 kB / 412.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3937, allocations: 0 / 412.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3937, allocations: 0 / 412.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.79e-05/0.3938, allocations: 157.7 kB / 413.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3938, allocations: 4 kB / 413.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.3938, allocations: 8 kB / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3939, allocations: 0 / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3939, allocations: 3.938 kB / 413.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3939, allocations: 7.922 kB / 413.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3939, allocations: 0 / 413.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.3941, allocations: 93.03 kB / 413.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.3941, allocations: 85.06 kB / 413.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3941, allocations: 7.938 kB / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.3942, allocations: 11.98 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-06/0.3942, allocations: 0 / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.3942, allocations: 0 / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.3942, allocations: 79.28 kB / 413.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3942, allocations: 0 / 413.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.3944, allocations: 8 kB / 413.4 MB, free: 13.09 MB / 334.1 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 8.816e-05/0.3945, allocations: 102.9 kB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.3947, allocations: 35.91 kB / 413.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3947, allocations: 0 / 413.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.3947, allocations: 0 / 413.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.3949, allocations: 23.98 kB / 413.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.3952, allocations: 121.5 kB / 413.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.3954, allocations: 0.6807 MB / 414.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.008e-05/0.3955, allocations: 8.234 kB / 414.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.3955, allocations: 11.44 kB / 414.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3955, allocations: 0 / 414.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Templates: time 0.002187/0.3977, allocations: 431.2 kB / 414.8 MB, free: 11.64 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches