Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 200 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008256/0.0008259, allocations: 100.5 kB / 299.9 MB, free: 5.371 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.000298, allocations: 4 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3326, allocations: 51.42 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002072/0.3348, allocations: 1.134 MB / 413.2 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002148/0.335, allocations: 31.84 kB / 413.2 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.3351, allocations: 4 kB / 413.2 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.3351, allocations: 0 / 413.2 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.3352, allocations: 0 / 413.2 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.3355, allocations: 44.64 kB / 413.3 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.3357, allocations: 19.98 kB / 413.3 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3358, allocations: 5.062 kB / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.3359, allocations: 15.92 kB / 413.3 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.3359, allocations: 9.5 kB / 413.3 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.3359, allocations: 0 / 413.3 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.336, allocations: 4 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.336, allocations: 3.984 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.3361, allocations: 46.19 kB / 413.4 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.3362, allocations: 19.91 kB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3362, allocations: 3.5 kB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3362, allocations: 0 / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3362, allocations: 3.938 kB / 413.4 MB, free: 24.59 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.0004108/0.3366, allocations: 337 kB / 413.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3367, allocations: 8.031 kB / 413.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.3367, allocations: 4.938 kB / 413.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3369, allocations: 176.2 kB / 413.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3369, allocations: 4.375 kB / 413.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.337, allocations: 8.375 kB / 413.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.3374, allocations: 115.8 kB / 414 MB, free: 23.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3374, allocations: 192 / 414 MB, free: 23.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3374, allocations: 3.938 kB / 414 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3374, allocations: 0 / 414 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.3375, allocations: 31.91 kB / 414.1 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.3377, allocations: 157.7 kB / 414.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3379, allocations: 50.55 kB / 414.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.3379, allocations: 24.92 kB / 414.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.338, allocations: 0 / 414.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.338, allocations: 30.56 kB / 414.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.338, allocations: 0 / 414.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002911/0.3383, allocations: 81.55 kB / 414.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3384, allocations: 55.41 kB / 414.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.3384, allocations: 105.8 kB / 414.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3385, allocations: 29.7 kB / 414.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.3385, allocations: 80.14 kB / 414.7 MB, free: 23.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.3385, allocations: 3.906 kB / 414.7 MB, free: 23.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.3385, allocations: 3.938 kB / 414.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.3386, allocations: 322.8 kB / 415 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.3386, allocations: 0 / 415 MB, free: 22.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.3387, allocations: 35.69 kB / 415 MB, free: 22.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.3387, allocations: 43.36 kB / 415.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3388, allocations: 0 / 415.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.844e-05/0.3389, allocations: 65.52 kB / 415.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3389, allocations: 11.98 kB / 415.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3389, allocations: 4.062 kB / 415.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3389, allocations: 0 / 415.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.339, allocations: 8 kB / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.339, allocations: 4 kB / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.3391, allocations: 0 / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3391, allocations: 0 / 415.2 MB, free: 22.57 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 (step.counter,$CLKPRE.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.261e-05/0.3392, allocations: 122.1 kB / 415.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.3393, allocations: 69.5 kB / 415.3 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.3394, allocations: 15.44 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3394, allocations: 0 / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3394, allocations: 0 / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3394, allocations: 0 / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.899e-05/0.3395, allocations: 157.7 kB / 415.5 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3395, allocations: 0 / 415.5 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.3395, allocations: 4 kB / 415.5 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3395, allocations: 0 / 415.5 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.3396, allocations: 7.938 kB / 415.5 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3396, allocations: 0 / 415.5 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3396, allocations: 0 / 415.5 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.3398, allocations: 93.03 kB / 415.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.3398, allocations: 85.02 kB / 415.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.3398, allocations: 3.938 kB / 415.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.3399, allocations: 0 / 415.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-06/0.3399, allocations: 4 kB / 415.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3399, allocations: 3.938 kB / 415.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.3399, allocations: 91.27 kB / 415.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3399, allocations: 0 / 415.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.3402, allocations: 4 kB / 415.8 MB, free: 21.81 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.0001013/0.3403, allocations: 103.2 kB / 415.9 MB, free: 21.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.3405, allocations: 35.92 kB / 415.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3405, allocations: 0 / 415.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.3405, allocations: 256 / 415.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3408, allocations: 32.02 kB / 416 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.3412, allocations: 116.7 kB / 416.1 MB, free: 21.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3413, allocations: 0.677 MB / 416.8 MB, free: 20.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.3413, allocations: 7.938 kB / 416.8 MB, free: 20.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.3414, allocations: 7.438 kB / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3414, allocations: 0 / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of Templates: time 0.002762/0.3441, allocations: 352.4 kB / 417.1 MB, free: 20.43 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches