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.001679/0.001679, allocations: 110.5 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.00205/0.00205, 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.409/1.409, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3163, allocations: 49.45 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002984/0.3193, allocations: 1.408 MB / 401.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003012/0.3196, allocations: 101.5 kB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.3197, allocations: 5.125 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.3198, allocations: 0 / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.3198, allocations: 9.312 kB / 401.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3201, allocations: 24.81 kB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.3202, allocations: 22.42 kB / 401.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3203, allocations: 9.406 kB / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.3204, allocations: 11.77 kB / 401.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.3204, allocations: 11.06 kB / 401.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3204, allocations: 5.469 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.3204, allocations: 1.406 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.3205, allocations: 6.469 kB / 401.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.3205, allocations: 22.2 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3207, allocations: 25.7 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3207, allocations: 1.125 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3207, allocations: 0 / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.3208, allocations: 0 / 401.9 MB, free: 7.121 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.000458/0.3212, allocations: 338.7 kB / 402.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3213, allocations: 12.06 kB / 402.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.3213, allocations: 34.75 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.3214, allocations: 0.9375 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.3216, allocations: 188.2 kB / 402.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3216, allocations: 12.34 kB / 402.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3217, allocations: 4.375 kB / 402.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.3219, allocations: 91.89 kB / 402.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.322, allocations: 7.875 kB / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.322, allocations: 0 / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.322, allocations: 8 kB / 402.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.3221, allocations: 15.98 kB / 402.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.3222, allocations: 153.7 kB / 402.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3223, allocations: 46.55 kB / 402.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.3224, allocations: 20.89 kB / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3224, allocations: 0 / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.3225, allocations: 42.53 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3225, allocations: 0 / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002089/0.3227, allocations: 65.62 kB / 402.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3228, allocations: 55.41 kB / 403 MB, free: 5.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.3228, allocations: 101.8 kB / 403.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3229, allocations: 29.7 kB / 403.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.3229, allocations: 84.12 kB / 403.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.3229, allocations: 7.938 kB / 403.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.323, allocations: 21.7 kB / 403.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3231, allocations: 310.8 kB / 403.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.3231, allocations: 8 kB / 403.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.3232, allocations: 27.38 kB / 403.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.3232, allocations: 39.42 kB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3232, allocations: 0 / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001788/0.3234, allocations: 57.53 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3234, allocations: 10.59 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3234, allocations: 3.984 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3235, allocations: 4 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.136e-05/0.3235, allocations: 4.125 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3235, allocations: 4 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.3235, allocations: 0 / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.3236, allocations: 0 / 403.7 MB, free: 5.102 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.654e-05/0.3236, allocations: 113.8 kB / 403.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.45e-05/0.3237, allocations: 61.56 kB / 403.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.3238, allocations: 3.828 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3238, allocations: 0 / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3238, allocations: 0 / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3238, allocations: 15.97 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.251e-05/0.3239, allocations: 153.6 kB / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3239, allocations: 4 kB / 404 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.3239, allocations: 3.938 kB / 404 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3239, allocations: 3.938 kB / 404 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.324, allocations: 256 / 404 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.324, allocations: 4 kB / 404 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.324, allocations: 7.984 kB / 404 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.3241, allocations: 85.05 kB / 404.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.3242, allocations: 81.05 kB / 404.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3242, allocations: 7.938 kB / 404.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.173e-05/0.3243, allocations: 4 kB / 404.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-06/0.3243, allocations: 0 / 404.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.3243, allocations: 0 / 404.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.3243, allocations: 83.27 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.3243, allocations: 0 / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00019/0.3245, allocations: 7.938 kB / 404.3 MB, free: 4.367 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.0003981/0.3249, allocations: 0.6241 MB / 404.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.325, allocations: 23.92 kB / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3251, allocations: 0 / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.3251, allocations: 0 / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.3253, allocations: 33.84 kB / 405 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3264, allocations: 1.135 MB / 406.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3267, allocations: 0.6844 MB / 406.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.689e-05/0.3267, allocations: 8 kB / 406.8 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.3267, allocations: 7.438 kB / 406.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3267, allocations: 0 / 406.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.346, allocations: 1.231 MB / 408.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.911, allocations: 0.625 kB / 408.1 MB, free: 0.5938 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