Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 200.6 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.661/1.661, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007859/0.000786, allocations: 101.4 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003273, allocations: 4 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.334, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001737/0.3358, allocations: 1.179 MB / 413.2 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.3361, allocations: 99.72 kB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.3362, allocations: 1.25 kB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.3362, allocations: 3.984 kB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.3363, allocations: 3.938 kB / 413.3 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.3366, allocations: 17.2 kB / 413.4 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.3367, allocations: 27.86 kB / 413.4 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3368, allocations: 12.52 kB / 413.4 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.3369, allocations: 8.672 kB / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.3369, allocations: 7.938 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.3369, allocations: 0.5312 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.337, allocations: 4 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.337, allocations: 8.484 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.337, allocations: 39.39 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.426e-05/0.3371, allocations: 27.89 kB / 413.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3372, allocations: 0 / 413.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3372, allocations: 0 / 413.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.3372, allocations: 0 / 413.5 MB, free: 24.47 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.0004189/0.3376, allocations: 338.2 kB / 413.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3377, allocations: 12.66 kB / 413.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.3377, allocations: 4.844 kB / 413.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3379, allocations: 184.2 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.3379, allocations: 4.312 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3379, allocations: 4.375 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.3383, allocations: 127.8 kB / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3383, allocations: 192 / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3383, allocations: 3.938 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3384, allocations: 0 / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.3385, allocations: 19.98 kB / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.3386, allocations: 153.7 kB / 414.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3388, allocations: 66.48 kB / 414.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.3389, allocations: 28.92 kB / 414.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3389, allocations: 0 / 414.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.339, allocations: 30.56 kB / 414.4 MB, free: 23.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.339, allocations: 4 kB / 414.5 MB, free: 23.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002634/0.3392, allocations: 81.52 kB / 414.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3393, allocations: 55.41 kB / 414.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.3394, allocations: 109.8 kB / 414.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3394, allocations: 25.7 kB / 414.7 MB, free: 23.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.3394, allocations: 80.14 kB / 414.8 MB, free: 22.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.3395, allocations: 7.984 kB / 414.8 MB, free: 22.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/0.3395, allocations: 4 kB / 414.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.3395, allocations: 314.8 kB / 415.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.3396, allocations: 0 / 415.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.3396, allocations: 27.44 kB / 415.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.3397, allocations: 43.36 kB / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3397, allocations: 0 / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.361e-05/0.3398, allocations: 49.64 kB / 415.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3398, allocations: 7.984 kB / 415.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3398, allocations: 3.938 kB / 415.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3398, allocations: 4 kB / 415.2 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.3399, allocations: 8.125 kB / 415.3 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3399, allocations: 11.92 kB / 415.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.34, allocations: 0 / 415.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.34, allocations: 4 kB / 415.3 MB, free: 22.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.53e-05/0.34, allocations: 113.8 kB / 415.4 MB, free: 22.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.3402, allocations: 65.84 kB / 415.4 MB, free: 22.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.3402, allocations: 15.84 kB / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3402, allocations: 4 kB / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3403, allocations: 0 / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3403, allocations: 3.938 kB / 415.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.426e-05/0.3404, allocations: 153.7 kB / 415.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3404, allocations: 0 / 415.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.3404, allocations: 11.98 kB / 415.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3405, allocations: 7.875 kB / 415.6 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3405, allocations: 3.938 kB / 415.6 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3405, allocations: 4 kB / 415.6 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3405, allocations: 0 / 415.6 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3406, allocations: 89.11 kB / 415.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.3407, allocations: 84.95 kB / 415.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3407, allocations: 4.188 kB / 415.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.3408, allocations: 4 kB / 415.8 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-06/0.3408, allocations: 4 kB / 415.8 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.3408, allocations: 3.984 kB / 415.8 MB, free: 21.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.344e-05/0.3408, allocations: 87.28 kB / 415.9 MB, free: 21.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3408, allocations: 0 / 415.9 MB, free: 21.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.3412, allocations: 4 kB / 415.9 MB, free: 21.68 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001058/0.3413, allocations: 103.2 kB / 416 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.3414, allocations: 27.92 kB / 416.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3414, allocations: 0 / 416.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.3414, allocations: 4.25 kB / 416.1 MB, free: 21.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3418, allocations: 23.92 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.0002951/0.3421, allocations: 120.7 kB / 416.2 MB, free: 21.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3422, allocations: 0.6809 MB / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.198e-05/0.3423, allocations: 0 / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.3423, allocations: 19.38 kB / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3423, allocations: 0 / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of Templates: time 0.002752/0.3451, allocations: 289.3 kB / 417.2 MB, free: 20.37 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches