Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001733/0.001733, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2584, allocations: 50.54 MB / 409.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00249/0.2609, allocations: 1.426 MB / 411.3 MB, free: 332 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.2611, allocations: 31.86 kB / 411.4 MB, free: 300 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.2612, allocations: 4 kB / 411.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2612, allocations: 3.984 kB / 411.4 MB, free: 292 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.2613, allocations: 3.938 kB / 411.4 MB, free: 288 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.2615, allocations: 23.97 kB / 411.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.417e-05/0.2616, allocations: 23.92 kB / 411.4 MB, free: 240 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2617, allocations: 12 kB / 411.4 MB, free: 228 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.2618, allocations: 11.94 kB / 411.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.2618, allocations: 11.92 kB / 411.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2618, allocations: 8 kB / 411.5 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.2618, allocations: 4 kB / 411.5 MB, free: 192 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.2619, allocations: 7.984 kB / 411.5 MB, free: 184 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.2619, allocations: 15.92 kB / 411.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.53e-05/0.262, allocations: 23.84 kB / 411.5 MB, free: 144 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.262, allocations: 0 / 411.5 MB, free: 144 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.262, allocations: 4 kB / 411.5 MB, free: 140 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.262, allocations: 0 / 411.5 MB, free: 140 kB / 318.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.0004277/0.2625, allocations: 343.3 kB / 411.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2625, allocations: 12.03 kB / 411.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.2625, allocations: 4.938 kB / 411.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2627, allocations: 180.2 kB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2628, allocations: 384 / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.2628, allocations: 8.375 kB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.2631, allocations: 115.8 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2631, allocations: 192 / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.2631, allocations: 7.938 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2631, allocations: 3.984 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.994e-05/0.2632, allocations: 23.97 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.2634, allocations: 153.7 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.2635, allocations: 54.48 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.2636, allocations: 24.92 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2636, allocations: 4 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2637, allocations: 34.56 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2637, allocations: 0 / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002355/0.2639, allocations: 73.61 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.264, allocations: 63.27 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.264, allocations: 101.9 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.2641, allocations: 25.7 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.2641, allocations: 84.14 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2641, allocations: 7.891 kB / 412.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.2642, allocations: 25.66 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2643, allocations: 314.8 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.2643, allocations: 8 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.2643, allocations: 27.42 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.2644, allocations: 43.38 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2644, allocations: 0 / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.688e-05/0.2645, allocations: 57.62 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2645, allocations: 4 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2645, allocations: 3.938 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2645, allocations: 4 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.2646, allocations: 12.06 kB / 413.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2646, allocations: 0 / 413.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.2646, allocations: 0 / 413.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2646, allocations: 4 kB / 413.3 MB, free: 14.09 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 7.002e-05/0.2647, allocations: 121.8 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2648, allocations: 61.59 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.2649, allocations: 11.42 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2649, allocations: 0 / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2649, allocations: 0 / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2649, allocations: 4.375 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.848e-05/0.265, allocations: 159 kB / 413.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.265, allocations: 4 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.265, allocations: 7.984 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2651, allocations: 0 / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.2651, allocations: 3.938 kB / 413.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2651, allocations: 0 / 413.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2651, allocations: 4 kB / 413.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.2653, allocations: 85.34 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.2653, allocations: 85.05 kB / 413.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2653, allocations: 11.94 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.862e-05/0.2654, allocations: 3.984 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-06/0.2654, allocations: 0 / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.2654, allocations: 7.938 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.2654, allocations: 83.22 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2654, allocations: 0 / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.2656, allocations: 8 kB / 414 MB, free: 13.33 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 9.575e-05/0.2657, allocations: 107.2 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.2659, allocations: 27.97 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2659, allocations: 0 / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2659, allocations: 0 / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.2661, allocations: 23.97 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.2664, allocations: 139.3 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2666, allocations: 0.6809 MB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.2666, allocations: 11.44 kB / 415 MB, free: 12.28 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.2667, allocations: 0 / 415 MB, free: 12.28 MB / 334.1 MB Notification: Performance of Templates: time 0.001745/0.2684, allocations: 0.5975 MB / 415.6 MB, free: 11.68 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches