Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009792, allocations: 93.77 kB / 16.04 MB, free: 5.617 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08095/0.08095, allocations: 12.63 MB / 29.4 MB, free: 5.855 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001625/0.0001626, allocations: 4 kB / 40.28 MB, free: 0.5156 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004707/0.004883, allocations: 2.835 MB / 43.11 MB, free: 5.957 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 1.559/1.564, allocations: 277.4 MB / 320.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002367/1.565, allocations: 91.78 kB / 320.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/1.565, allocations: 0 / 320.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/1.565, allocations: 9.5 kB / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/1.565, allocations: 0 / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/1.565, allocations: 27.91 kB / 320.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.694e-05/1.565, allocations: 19.98 kB / 320.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/1.565, allocations: 19.59 kB / 320.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/1.565, allocations: 12.42 kB / 320.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/1.565, allocations: 3.938 kB / 320.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/1.565, allocations: 8.625 kB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/1.565, allocations: 1.969 kB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/1.565, allocations: 3.984 kB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/1.565, allocations: 41.62 kB / 320.8 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.912e-05/1.565, allocations: 19.91 kB / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.565, allocations: 0 / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/1.565, allocations: 0 / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/1.565, allocations: 1.812 kB / 320.8 MB, free: 10.56 MB / 250.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.0003424/1.566, allocations: 327.6 kB / 321.1 MB, free: 10.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/1.566, allocations: 8.031 kB / 321.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/1.566, allocations: 10.06 kB / 321.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/1.566, allocations: 172.3 kB / 321.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/1.566, allocations: 384 / 321.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/1.566, allocations: 9.625 kB / 321.3 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/1.566, allocations: 110.4 kB / 321.4 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/1.566, allocations: 192 / 321.4 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/1.566, allocations: 3.938 kB / 321.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/1.566, allocations: 3.938 kB / 321.4 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/1.566, allocations: 28.98 kB / 321.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/1.567, allocations: 156.5 kB / 321.6 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/1.567, allocations: 46.56 kB / 321.7 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/1.567, allocations: 24.92 kB / 321.7 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/1.567, allocations: 0.6562 kB / 321.7 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/1.567, allocations: 31.19 kB / 321.7 MB, free: 9.488 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/1.567, allocations: 0.8438 kB / 321.7 MB, free: 9.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001824/1.567, allocations: 74.39 kB / 321.8 MB, free: 9.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/1.567, allocations: 52.94 kB / 321.8 MB, free: 9.348 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/1.567, allocations: 105.8 kB / 321.9 MB, free: 9.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/1.567, allocations: 29.7 kB / 322 MB, free: 9.199 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/1.567, allocations: 80.77 kB / 322 MB, free: 9.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-06/1.567, allocations: 0 / 322 MB, free: 9.117 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/1.567, allocations: 7.531 kB / 322 MB, free: 9.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/1.567, allocations: 314.8 kB / 322.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-06/1.567, allocations: 0 / 322.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/1.567, allocations: 27.42 kB / 322.4 MB, free: 8.758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/1.567, allocations: 37.34 kB / 322.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.567, allocations: 0 / 322.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.329e-05/1.567, allocations: 62.31 kB / 322.5 MB, free: 8.645 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/1.567, allocations: 6.656 kB / 322.5 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.567, allocations: 7.938 kB / 322.5 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.567, allocations: 256 / 322.5 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/1.567, allocations: 8 kB / 322.5 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/1.567, allocations: 4 kB / 322.5 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/1.568, allocations: 0 / 322.5 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/1.568, allocations: 4 kB / 322.5 MB, free: 8.617 MB / 250.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 6.231e-05/1.568, allocations: 116.8 kB / 322.6 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.814e-05/1.568, allocations: 61.89 kB / 322.7 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/1.568, allocations: 7.438 kB / 322.7 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.568, allocations: 4.031 kB / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.568, allocations: 0 / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.568, allocations: 0.8125 kB / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.377e-05/1.568, allocations: 153.7 kB / 322.8 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.568, allocations: 1.219 kB / 322.8 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/1.568, allocations: 7.938 kB / 322.9 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/1.568, allocations: 0 / 322.9 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/1.568, allocations: 8.953 kB / 322.9 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.568, allocations: 0 / 322.9 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.568, allocations: 0 / 322.9 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/1.568, allocations: 83.94 kB / 322.9 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/1.568, allocations: 88.92 kB / 323 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/1.568, allocations: 11.94 kB / 323 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/1.568, allocations: 0 / 323 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-06/1.568, allocations: 7.109 kB / 323.1 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/1.568, allocations: 0 / 323.1 MB, free: 7.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.513e-05/1.568, allocations: 79.28 kB / 323.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.568, allocations: 0 / 323.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001741/1.568, allocations: 8 kB / 323.1 MB, free: 7.895 MB / 250.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 8.22e-05/1.568, allocations: 100.3 kB / 323.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.909e-05/1.569, allocations: 29.2 kB / 323.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.569, allocations: 0 / 323.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/1.569, allocations: 1.062 kB / 323.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/1.569, allocations: 24.02 kB / 323.3 MB, free: 7.734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/1.569, allocations: 106.8 kB / 323.4 MB, free: 7.605 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/1.569, allocations: 0.6848 MB / 324.1 MB, free: 6.895 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.317e-05/1.569, allocations: 8.359 kB / 324.1 MB, free: 6.887 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/1.569, allocations: 11.44 kB / 324.1 MB, free: 6.875 MB / 250.7 MB Notification: Performance of SimCode: time 2.1e-07/1.569, allocations: 0 / 324.1 MB, free: 6.875 MB / 250.7 MB Notification: Performance of Templates: time 0.001712/1.571, allocations: 300.2 kB / 324.4 MB, free: 6.586 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches