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.001466/0.001466, allocations: 106.2 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.00157/0.00157, 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.496/1.496, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001039, allocations: 51.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2802, allocations: 49.44 MB / 400.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002744/0.283, allocations: 1.41 MB / 401.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.2832, allocations: 34.28 kB / 401.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.2833, allocations: 0 / 401.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.2834, allocations: 4.906 kB / 401.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.2834, allocations: 7.922 kB / 401.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.2836, allocations: 23.41 kB / 401.7 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.2837, allocations: 22.56 kB / 401.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.2838, allocations: 14.45 kB / 401.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.2839, allocations: 19.92 kB / 401.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.2839, allocations: 15.92 kB / 401.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.284, allocations: 0 / 401.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-06/0.284, allocations: 4 kB / 401.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.284, allocations: 0 / 401.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.284, allocations: 15.92 kB / 401.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.2841, allocations: 35.83 kB / 401.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2841, allocations: 0 / 401.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2841, allocations: 0 / 401.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.2842, allocations: 0 / 401.8 MB, free: 7.363 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.0004171/0.2846, allocations: 346.5 kB / 402.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2846, allocations: 12.03 kB / 402.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.2847, allocations: 34.75 kB / 402.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.2847, allocations: 0.9375 kB / 402.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.285, allocations: 176.3 kB / 402.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.285, allocations: 8.312 kB / 402.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.285, allocations: 8.312 kB / 402.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.2853, allocations: 115.9 kB / 402.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2854, allocations: 3.938 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2854, allocations: 0 / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.2854, allocations: 3.984 kB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-05/0.2855, allocations: 19.98 kB / 402.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.2856, allocations: 157.6 kB / 402.7 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.2858, allocations: 54.48 kB / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.2859, allocations: 28.92 kB / 402.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.2859, allocations: 0 / 402.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.2859, allocations: 30.56 kB / 402.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2859, allocations: 4 kB / 402.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002467/0.2862, allocations: 69.61 kB / 402.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.2862, allocations: 59.39 kB / 402.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.2863, allocations: 101.9 kB / 403 MB, free: 5.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2863, allocations: 33.7 kB / 403.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.2864, allocations: 88.06 kB / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.2864, allocations: 7.891 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.2864, allocations: 17.72 kB / 403.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.2865, allocations: 318.8 kB / 403.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.2866, allocations: 3.984 kB / 403.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.2866, allocations: 31.62 kB / 403.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.2867, allocations: 39.38 kB / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2867, allocations: 0 / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.735e-05/0.2868, allocations: 53.62 kB / 403.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2868, allocations: 12.06 kB / 403.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2868, allocations: 4 kB / 403.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2868, allocations: 3.984 kB / 403.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.287e-05/0.2869, allocations: 4.375 kB / 403.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2869, allocations: 7.938 kB / 403.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.2869, allocations: 7.984 kB / 403.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2869, allocations: 8 kB / 403.7 MB, free: 5.266 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 7.328e-05/0.287, allocations: 105.8 kB / 403.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.2872, allocations: 69.56 kB / 403.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.2872, allocations: 11.5 kB / 403.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2872, allocations: 0 / 403.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2872, allocations: 0 / 403.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2872, allocations: 3.938 kB / 403.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.975e-05/0.2873, allocations: 153.7 kB / 404 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2873, allocations: 0 / 404 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.2874, allocations: 7.984 kB / 404 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2874, allocations: 3.938 kB / 404 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2874, allocations: 7.938 kB / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2874, allocations: 0 / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2874, allocations: 0 / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.2876, allocations: 89.11 kB / 404.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.2876, allocations: 81.06 kB / 404.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.2876, allocations: 3.938 kB / 404.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.159e-05/0.2877, allocations: 7.984 kB / 404.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-06/0.2877, allocations: 3.938 kB / 404.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.2877, allocations: 0 / 404.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.622e-05/0.2877, allocations: 83.28 kB / 404.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2877, allocations: 4 kB / 404.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001866/0.2879, allocations: 4 kB / 404.3 MB, free: 4.531 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.000515/0.2885, allocations: 0.6514 MB / 405 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.2886, allocations: 27.92 kB / 405 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2886, allocations: 4.312 kB / 405 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.2886, allocations: 0 / 405 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.2888, allocations: 30.62 kB / 405 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.2898, allocations: 1.158 MB / 406.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.29, allocations: 0.6844 MB / 406.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.29, allocations: 4 kB / 406.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.2901, allocations: 11.42 kB / 406.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2901, allocations: 0 / 406.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.3067, allocations: 1.312 MB / 408.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.09, allocations: 10.59 kB / 408.2 MB, free: 0.625 MB / 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