Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 196.6 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.456/1.456, 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.000807/0.0008069, allocations: 90.81 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002425/0.0002427, allocations: 4 kB / 360.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2974, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001293/0.2988, allocations: 1.148 MB / 413.2 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002143/0.299, allocations: 92.34 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.2991, allocations: 0 / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.2991, allocations: 0.6875 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.2991, allocations: 0 / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.2994, allocations: 41.67 kB / 413.3 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.2995, allocations: 19.94 kB / 413.3 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.2996, allocations: 15.92 kB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.2996, allocations: 4.625 kB / 413.4 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.799e-05/0.2996, allocations: 15.91 kB / 413.4 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2997, allocations: 5.219 kB / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-06/0.2997, allocations: 0 / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.2997, allocations: 0 / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.2997, allocations: 41.58 kB / 413.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.525e-05/0.2998, allocations: 19.19 kB / 413.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2998, allocations: 0 / 413.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2998, allocations: 0 / 413.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.2998, allocations: 0 / 413.4 MB, free: 24.5 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.0003037/0.3002, allocations: 333.1 kB / 413.8 MB, free: 24.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3002, allocations: 12.02 kB / 413.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.3002, allocations: 4.938 kB / 413.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3004, allocations: 182.6 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3004, allocations: 384 / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3004, allocations: 4.375 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.3007, allocations: 107.8 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3007, allocations: 192 / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3007, allocations: 3.938 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3007, allocations: 3.984 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.3008, allocations: 12 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.3009, allocations: 161.7 kB / 414.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.3011, allocations: 50.56 kB / 414.3 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.3011, allocations: 20.89 kB / 414.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3012, allocations: 8.031 kB / 414.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3012, allocations: 34.5 kB / 414.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.3012, allocations: 0 / 414.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000183/0.3014, allocations: 69.62 kB / 414.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3014, allocations: 51.41 kB / 414.5 MB, free: 23.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.3015, allocations: 109.8 kB / 414.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.3015, allocations: 25.7 kB / 414.6 MB, free: 23.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.3015, allocations: 84.14 kB / 414.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.3016, allocations: 0 / 414.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.3016, allocations: 4 kB / 414.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.3016, allocations: 318.8 kB / 415 MB, free: 22.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.3016, allocations: 3.938 kB / 415 MB, free: 22.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.3017, allocations: 31.38 kB / 415 MB, free: 22.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.3017, allocations: 35.44 kB / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3017, allocations: 0 / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.79e-05/0.3018, allocations: 61.5 kB / 415.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3018, allocations: 4 kB / 415.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3018, allocations: 7.938 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3018, allocations: 288 / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-05/0.3019, allocations: 7.984 kB / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3019, allocations: 0 / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3019, allocations: 128 / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.3019, allocations: 8 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 5.391e-05/0.302, allocations: 121.7 kB / 415.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.302, allocations: 53.67 kB / 415.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.3021, allocations: 11.44 kB / 415.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3021, allocations: 0 / 415.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3021, allocations: 0 / 415.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3021, allocations: 0 / 415.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.203e-05/0.3022, allocations: 161.8 kB / 415.5 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3022, allocations: 4 kB / 415.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.3022, allocations: 8 kB / 415.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3022, allocations: 0 / 415.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.3022, allocations: 3.938 kB / 415.5 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3022, allocations: 0 / 415.5 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3022, allocations: 0 / 415.5 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.354e-05/0.3023, allocations: 81.06 kB / 415.6 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.3023, allocations: 89.03 kB / 415.7 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3024, allocations: 7.938 kB / 415.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.853e-05/0.3024, allocations: 0 / 415.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-06/0.3024, allocations: 0 / 415.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3024, allocations: 0 / 415.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.233e-05/0.3024, allocations: 83.28 kB / 415.8 MB, free: 21.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3024, allocations: 4 kB / 415.8 MB, free: 21.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.3026, allocations: 0 / 415.8 MB, free: 21.8 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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 7.636e-05/0.3027, allocations: 111.2 kB / 415.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.907e-05/0.3028, allocations: 19.94 kB / 415.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3028, allocations: 3.938 kB / 415.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.3028, allocations: 4 kB / 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.0002038/0.303, allocations: 24.02 kB / 415.9 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.3032, allocations: 116.9 kB / 416.1 MB, free: 21.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3034, allocations: 0.6848 MB / 416.7 MB, free: 20.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.371e-05/0.3034, allocations: 0 / 416.7 MB, free: 20.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.3034, allocations: 11.44 kB / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of SimCode: time 9.11e-07/0.3034, allocations: 0 / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of Templates: time 0.001827/0.3053, allocations: 299.8 kB / 417 MB, free: 20.48 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches