Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001636, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009328/0.000933, allocations: 93.16 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003418, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3376, allocations: 51.42 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001995/0.3396, allocations: 1.168 MB / 413.2 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.3399, allocations: 37.64 kB / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.34, allocations: 0 / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.34, allocations: 0 / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.3401, allocations: 3.938 kB / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.3404, allocations: 24.5 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.558e-05/0.3405, allocations: 25.34 kB / 413.3 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3406, allocations: 11.98 kB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.301e-05/0.3407, allocations: 15.86 kB / 413.3 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.3407, allocations: 16.7 kB / 413.4 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3408, allocations: 0 / 413.4 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.3408, allocations: 5.5 kB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.3408, allocations: 3.938 kB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.3409, allocations: 37.64 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.574e-05/0.341, allocations: 23.88 kB / 413.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.341, allocations: 0.5 kB / 413.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.341, allocations: 0.5625 kB / 413.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.341, allocations: 0 / 413.4 MB, free: 24.52 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.0004022/0.3414, allocations: 341.7 kB / 413.8 MB, free: 24.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3415, allocations: 9.406 kB / 413.8 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.3415, allocations: 4.938 kB / 413.8 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.3417, allocations: 184.2 kB / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3418, allocations: 1 kB / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3418, allocations: 8.062 kB / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.3422, allocations: 127.8 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3423, allocations: 192 / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3423, allocations: 7.875 kB / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3423, allocations: 0 / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.3425, allocations: 23.98 kB / 414.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.3426, allocations: 161.7 kB / 414.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3428, allocations: 58.53 kB / 414.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3429, allocations: 32.86 kB / 414.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.343, allocations: 0 / 414.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.343, allocations: 34.56 kB / 414.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.343, allocations: 0 / 414.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003542/0.3434, allocations: 85.5 kB / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3434, allocations: 59.41 kB / 414.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.3435, allocations: 105.8 kB / 414.6 MB, free: 23.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.3435, allocations: 25.7 kB / 414.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.3436, allocations: 84.14 kB / 414.8 MB, free: 23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.3436, allocations: 3.984 kB / 414.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.3436, allocations: 7.938 kB / 414.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.3437, allocations: 314.8 kB / 415.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.3437, allocations: 4 kB / 415.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.3437, allocations: 35.42 kB / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.3438, allocations: 39.38 kB / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3438, allocations: 0 / 415.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.3439, allocations: 61.62 kB / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3439, allocations: 4 kB / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3439, allocations: 3.938 kB / 415.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.344, allocations: 7.938 kB / 415.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.344, allocations: 4 kB / 415.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3441, allocations: 4 kB / 415.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.3441, allocations: 11.84 kB / 415.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.3441, allocations: 4 kB / 415.3 MB, free: 22.46 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: 2 (step.counter,$CLKPRE.step.counter) * 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.394e-05/0.3442, allocations: 113.9 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.3444, allocations: 69.61 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.3444, allocations: 11.83 kB / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3444, allocations: 4 kB / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3445, allocations: 0 / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3445, allocations: 0 / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.743e-05/0.3445, allocations: 153.7 kB / 415.6 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3446, allocations: 0 / 415.6 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.3446, allocations: 16.36 kB / 415.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3447, allocations: 0 / 415.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3447, allocations: 11.94 kB / 415.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3447, allocations: 3.938 kB / 415.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3447, allocations: 0 / 415.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.3449, allocations: 97 kB / 415.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.3449, allocations: 77.11 kB / 415.8 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.345, allocations: 7.938 kB / 415.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.345, allocations: 0 / 415.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-06/0.345, allocations: 288 / 415.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.3451, allocations: 11.98 kB / 415.8 MB, free: 21.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.188e-05/0.3451, allocations: 83.28 kB / 415.9 MB, free: 21.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3451, allocations: 0 / 415.9 MB, free: 21.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.3454, allocations: 4 kB / 415.9 MB, free: 21.7 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: 1 (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.0001047/0.3455, allocations: 103.2 kB / 416 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3457, allocations: 35.91 kB / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3457, allocations: 0 / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.3457, allocations: 4.25 kB / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3461, allocations: 27.98 kB / 416.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.3465, allocations: 132.6 kB / 416.2 MB, free: 21.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.3466, allocations: 0.6809 MB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.189e-05/0.3466, allocations: 0 / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.3467, allocations: 11.44 kB / 416.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3467, allocations: 4 kB / 416.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of Templates: time 0.002877/0.3496, allocations: 399.2 kB / 417.3 MB, free: 20.25 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches