Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002106/0.002106, allocations: 199.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007773/0.0007776, allocations: 93.59 kB / 299.8 MB, free: 5.371 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003348, allocations: 7.984 kB / 360.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3423, allocations: 51.41 MB / 412.1 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001512/0.3438, allocations: 1.14 MB / 413.2 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.3441, allocations: 35.91 kB / 413.2 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.3441, allocations: 0.5312 kB / 413.2 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.3442, allocations: 3.938 kB / 413.2 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.3442, allocations: 4.625 kB / 413.2 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.3445, allocations: 22.17 kB / 413.3 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.868e-05/0.3446, allocations: 27.92 kB / 413.3 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3447, allocations: 7.984 kB / 413.3 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.3447, allocations: 15.92 kB / 413.3 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.3448, allocations: 7.938 kB / 413.3 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3448, allocations: 0.8125 kB / 413.3 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.3448, allocations: 4 kB / 413.3 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.3449, allocations: 9.562 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.3449, allocations: 37.62 kB / 413.4 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.345, allocations: 27.88 kB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.345, allocations: 0 / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.345, allocations: 0 / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.345, allocations: 1.344 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.0003711/0.3454, allocations: 337.1 kB / 413.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3455, allocations: 12.03 kB / 413.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.3455, allocations: 0.9375 kB / 413.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3457, allocations: 184.2 kB / 413.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3457, allocations: 384 / 413.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.3457, allocations: 12.3 kB / 413.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.3461, allocations: 119.9 kB / 414 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3461, allocations: 192 / 414 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3461, allocations: 7.938 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3461, allocations: 3.938 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3462, allocations: 27.97 kB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.3464, allocations: 153.7 kB / 414.2 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3465, allocations: 62.47 kB / 414.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.3466, allocations: 32.91 kB / 414.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.3466, allocations: 0 / 414.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.3466, allocations: 34.56 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3466, allocations: 0 / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002543/0.3469, allocations: 85.5 kB / 414.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.347, allocations: 59.41 kB / 414.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.347, allocations: 105.8 kB / 414.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.347, allocations: 29.64 kB / 414.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.3471, allocations: 84.14 kB / 414.7 MB, free: 23.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.3471, allocations: 0 / 414.7 MB, free: 23.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.3471, allocations: 8 kB / 414.7 MB, free: 23.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.3472, allocations: 310.8 kB / 415 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.3472, allocations: 11.98 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.3472, allocations: 27.44 kB / 415.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.3473, allocations: 47.31 kB / 415.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3473, allocations: 0 / 415.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.489e-05/0.3473, allocations: 57.62 kB / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3474, allocations: 4 kB / 415.2 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3474, allocations: 3.938 kB / 415.2 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3474, allocations: 4 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.3474, allocations: 7.984 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3475, allocations: 12.06 kB / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.3475, allocations: 3.906 kB / 415.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3475, allocations: 4 kB / 415.2 MB, free: 22.53 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 6.006e-05/0.3476, allocations: 113.8 kB / 415.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3477, allocations: 65.67 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.3477, allocations: 15.78 kB / 415.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3477, allocations: 0 / 415.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3477, allocations: 0 / 415.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3478, allocations: 0 / 415.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.024e-05/0.3478, allocations: 161.7 kB / 415.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3478, allocations: 0 / 415.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.3479, allocations: 11.98 kB / 415.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3479, allocations: 3.938 kB / 415.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3479, allocations: 7.938 kB / 415.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3479, allocations: 4 kB / 415.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3479, allocations: 384 / 415.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3481, allocations: 89.02 kB / 415.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.3481, allocations: 81.11 kB / 415.8 MB, free: 21.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3481, allocations: 15.92 kB / 415.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.773e-05/0.3481, allocations: 0 / 415.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-06/0.3482, allocations: 4.281 kB / 415.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.3482, allocations: 0 / 415.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.3482, allocations: 87.27 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3482, allocations: 0 / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000181/0.3484, allocations: 4 kB / 415.9 MB, free: 21.76 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.0001068/0.3485, allocations: 111.2 kB / 416 MB, free: 21.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.3486, allocations: 27.92 kB / 416 MB, free: 21.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3487, allocations: 0 / 416 MB, free: 21.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.3487, allocations: 4 kB / 416 MB, free: 21.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.349, allocations: 47.81 kB / 416 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.3493, allocations: 120.6 kB / 416.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.3495, allocations: 0.6851 MB / 416.8 MB, free: 20.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.3495, allocations: 3.984 kB / 416.9 MB, free: 20.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.3496, allocations: 11.44 kB / 416.9 MB, free: 20.7 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3496, allocations: 0 / 416.9 MB, free: 20.7 MB / 298.7 MB Notification: Performance of Templates: time 0.002401/0.352, allocations: 393 kB / 417.2 MB, free: 20.31 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/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