Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 105.1 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 200.1 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2567, allocations: 49.45 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002569/0.2594, allocations: 1.414 MB / 401.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001798/0.2596, allocations: 29.12 kB / 401.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.2596, allocations: 5.156 kB / 401.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.2597, allocations: 0 / 401.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.2597, allocations: 5.719 kB / 401.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.26, allocations: 25.62 kB / 401.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.2601, allocations: 26.55 kB / 401.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.2602, allocations: 12.36 kB / 401.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.2602, allocations: 20.23 kB / 401.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.2603, allocations: 15.2 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2603, allocations: 2.156 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.2603, allocations: 2.125 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.2603, allocations: 2.156 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.2603, allocations: 14.09 kB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.844e-05/0.2604, allocations: 34.16 kB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2605, allocations: 1.094 kB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2605, allocations: 0 / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.2605, allocations: 0 / 401.8 MB, free: 7.18 MB / 318.1 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.000444/0.2609, allocations: 348.6 kB / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.261, allocations: 8.688 kB / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.261, allocations: 35.83 kB / 402.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.261, allocations: 3.75 kB / 402.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.2613, allocations: 192 kB / 402.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2613, allocations: 384 / 402.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.2613, allocations: 4.375 kB / 402.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.2617, allocations: 111.9 kB / 402.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2618, allocations: 7.938 kB / 402.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.2618, allocations: 0 / 402.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2618, allocations: 0 / 402.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.2619, allocations: 19.98 kB / 402.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.2621, allocations: 157.7 kB / 402.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.2622, allocations: 50.5 kB / 402.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.2623, allocations: 28.92 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2623, allocations: 0 / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2624, allocations: 38.55 kB / 402.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2624, allocations: 0 / 402.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002638/0.2626, allocations: 77.55 kB / 402.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.2627, allocations: 59.41 kB / 403 MB, free: 5.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.2628, allocations: 101.8 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2628, allocations: 29.7 kB / 403.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.2628, allocations: 84.14 kB / 403.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.2629, allocations: 7.891 kB / 403.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.2629, allocations: 21.7 kB / 403.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.263, allocations: 314.8 kB / 403.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.2631, allocations: 4 kB / 403.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.2631, allocations: 31.42 kB / 403.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.2632, allocations: 39.38 kB / 403.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2632, allocations: 0 / 403.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.235e-05/0.2633, allocations: 61.81 kB / 403.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2633, allocations: 12.06 kB / 403.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2633, allocations: 4 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2633, allocations: 3.984 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5e-05/0.2634, allocations: 7.938 kB / 403.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2634, allocations: 0 / 403.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.2634, allocations: 4 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.2634, allocations: 0 / 403.7 MB, free: 5.117 MB / 318.1 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 ($CLKPRE.step.counter,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 8.488e-05/0.2635, allocations: 113.8 kB / 403.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.2636, allocations: 65.56 kB / 403.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.2637, allocations: 11.5 kB / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2637, allocations: 4 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2637, allocations: 7.875 kB / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2637, allocations: 0 / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.2638, allocations: 157.7 kB / 404 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2638, allocations: 0 / 404 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.2639, allocations: 4 kB / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2639, allocations: 3.938 kB / 404 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2639, allocations: 0 / 404 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2639, allocations: 3.984 kB / 404 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2639, allocations: 3.984 kB / 404 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.2641, allocations: 89.48 kB / 404.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.2642, allocations: 81.06 kB / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2642, allocations: 3.938 kB / 404.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/0.2642, allocations: 8 kB / 404.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.2642, allocations: 3.938 kB / 404.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.2642, allocations: 0 / 404.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.2643, allocations: 87.27 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.2643, allocations: 4 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001843/0.2645, allocations: 7.938 kB / 404.3 MB, free: 4.363 MB / 318.1 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.0005558/0.265, allocations: 0.6436 MB / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.2652, allocations: 27.92 kB / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.2652, allocations: 4.312 kB / 405 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-07/0.2652, allocations: 0 / 405 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.2654, allocations: 28 kB / 405 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.2664, allocations: 1.162 MB / 406.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.2668, allocations: 0.6844 MB / 406.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.557e-05/0.2668, allocations: 4 kB / 406.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.2668, allocations: 11.44 kB / 406.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2668, allocations: 96 / 406.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.2912, allocations: 1.305 MB / 408.2 MB, free: 480 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.129, allocations: 4.375 kB / 408.2 MB, free: 480 kB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,assignClock1.y Variables in the result:time,periodicClock1.period,step.counter,step.startTick,assignClock1.u,assignClock1.y