Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",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.001567/0.001567, allocations: 116.1 kB / 17.07 MB, free: 5.996 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.001612/0.001612, allocations: 193.4 kB / 18 MB, free: 5.074 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 43.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2422, allocations: 49.44 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002923/0.2452, allocations: 1.422 MB / 401.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.2455, allocations: 106.8 kB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.2456, allocations: 0.9688 kB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.2456, allocations: 7.922 kB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.263e-05/0.2457, allocations: 0 / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.2459, allocations: 19.86 kB / 401.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.246, allocations: 26.05 kB / 401.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.2461, allocations: 12.58 kB / 401.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.2461, allocations: 7.25 kB / 401.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.2462, allocations: 15.27 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.2462, allocations: 6.219 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.2462, allocations: 1.906 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.2462, allocations: 5.094 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.2463, allocations: 15.22 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.752e-05/0.2464, allocations: 25.48 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2464, allocations: 1.156 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2464, allocations: 0 / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.2464, allocations: 0 / 401.9 MB, free: 7.109 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.0004221/0.2468, allocations: 339.1 kB / 402.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2469, allocations: 16.02 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.2469, allocations: 38.75 kB / 402.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.247, allocations: 0.9375 kB / 402.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2472, allocations: 184.2 kB / 402.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2473, allocations: 4.375 kB / 402.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.2473, allocations: 384 / 402.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.2476, allocations: 99.88 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2476, allocations: 3.938 kB / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2476, allocations: 4 kB / 402.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2476, allocations: 0 / 402.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.2477, allocations: 15.98 kB / 402.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.2479, allocations: 153.7 kB / 402.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.248, allocations: 50.5 kB / 402.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.2481, allocations: 28.91 kB / 402.8 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2481, allocations: 3.984 kB / 402.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2481, allocations: 30.56 kB / 402.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2481, allocations: 0 / 402.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002109/0.2483, allocations: 65.61 kB / 402.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.2484, allocations: 63.34 kB / 403 MB, free: 5.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.2485, allocations: 105.8 kB / 403.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2485, allocations: 25.7 kB / 403.1 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.2486, allocations: 88.12 kB / 403.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.2486, allocations: 3.938 kB / 403.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.2486, allocations: 17.72 kB / 403.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2488, allocations: 314.8 kB / 403.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.2488, allocations: 4 kB / 403.5 MB, free: 5.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.2489, allocations: 31.42 kB / 403.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.2489, allocations: 31.38 kB / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2489, allocations: 4 kB / 403.6 MB, free: 5.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.287e-05/0.249, allocations: 57.64 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.249, allocations: 11.94 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.249, allocations: 0 / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2491, allocations: 0 / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.96e-05/0.2491, allocations: 7.938 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2491, allocations: 0 / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.2491, allocations: 8 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.2492, allocations: 0 / 403.7 MB, free: 5.078 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: 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 8.253e-05/0.2492, allocations: 110.1 kB / 403.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2494, allocations: 69.67 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.2494, allocations: 3.5 kB / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2494, allocations: 0 / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2494, allocations: 0 / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2494, allocations: 0 / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.2495, allocations: 157.6 kB / 404 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2495, allocations: 0 / 404 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.2496, allocations: 7.938 kB / 404 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.2496, allocations: 7.922 kB / 404 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.2496, allocations: 0 / 404 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2496, allocations: 0 / 404 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2496, allocations: 7.984 kB / 404 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.2497, allocations: 77.12 kB / 404.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.2498, allocations: 81.05 kB / 404.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.2498, allocations: 3.938 kB / 404.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/0.2498, allocations: 11.98 kB / 404.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-06/0.2499, allocations: 384 / 404.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2499, allocations: 0 / 404.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.713e-05/0.2499, allocations: 83.28 kB / 404.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.214e-06/0.2499, allocations: 0 / 404.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.2501, allocations: 11.94 kB / 404.3 MB, free: 4.352 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: 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 0.0004671/0.2506, allocations: 0.6317 MB / 404.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.2507, allocations: 27.92 kB / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2507, allocations: 0 / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2507, allocations: 0 / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.2509, allocations: 21.67 kB / 405 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.252, allocations: 1.149 MB / 406.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2523, allocations: 0.6805 MB / 406.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.617e-05/0.2523, allocations: 3.984 kB / 406.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.2523, allocations: 11.44 kB / 406.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2523, allocations: 0 / 406.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.2743, allocations: 1.235 MB / 408.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.164, allocations: 0.625 kB / 408.1 MB, free: 0.5742 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_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_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches