Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",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.001744/0.001744, allocations: 113.2 kB / 17.07 MB, free: 5.988 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.001947/0.001947, 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.436/1.436, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2941, allocations: 49.42 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002685/0.2969, allocations: 1.48 MB / 401.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.2977, allocations: 456.1 kB / 402.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.2978, allocations: 4 kB / 402.2 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.2978, allocations: 7.922 kB / 402.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.298, allocations: 11.86 kB / 402.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.2981, allocations: 30.83 kB / 402.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2983, allocations: 63.73 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.2984, allocations: 11.98 kB / 402.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.2984, allocations: 23.86 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.2985, allocations: 23.91 kB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2985, allocations: 4 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.2985, allocations: 4 kB / 402.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.2985, allocations: 8 kB / 402.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.2986, allocations: 27.86 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2987, allocations: 46.89 kB / 402.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2987, allocations: 12 kB / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2987, allocations: 0 / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2988, allocations: 0 / 402.4 MB, free: 6.605 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006485/0.2994, allocations: 379.2 kB / 402.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2995, allocations: 12.03 kB / 402.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.2995, allocations: 38.75 kB / 402.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.2995, allocations: 4.891 kB / 402.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.2998, allocations: 180.4 kB / 403 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2998, allocations: 384 / 403 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2998, allocations: 8.375 kB / 403 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.3002, allocations: 151.3 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.3002, allocations: 0 / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3002, allocations: 4 kB / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3002, allocations: 0 / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3004, allocations: 31.92 kB / 403.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.3005, allocations: 161.7 kB / 403.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3008, allocations: 135.7 kB / 403.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.3008, allocations: 28.84 kB / 403.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3009, allocations: 8 kB / 403.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3009, allocations: 38.44 kB / 403.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3009, allocations: 0 / 403.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002607/0.3012, allocations: 85.61 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.3013, allocations: 59.41 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3014, allocations: 113.8 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3014, allocations: 25.7 kB / 403.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.3014, allocations: 88.08 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.3015, allocations: 7.984 kB / 404 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.3015, allocations: 17.72 kB / 404 MB, free: 4.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3017, allocations: 314.8 kB / 404.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.3017, allocations: 15.97 kB / 404.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.3017, allocations: 41.16 kB / 404.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.931e-05/0.3018, allocations: 61.02 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3018, allocations: 256 / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001136/0.3019, allocations: 81.5 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.302, allocations: 4 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.302, allocations: 8 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.302, allocations: 0 / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.637e-05/0.302, allocations: 8 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.302, allocations: 4.188 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.3021, allocations: 11.89 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3021, allocations: 4 kB / 404.5 MB, free: 4.227 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.458e-05/0.3022, allocations: 117.8 kB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3023, allocations: 69.61 kB / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.3024, allocations: 12.38 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3024, allocations: 0 / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3024, allocations: 0 / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3024, allocations: 0 / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3025, allocations: 169.6 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3025, allocations: 0 / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.3026, allocations: 11.94 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3026, allocations: 0 / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3026, allocations: 3.938 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3026, allocations: 3.984 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3026, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.3028, allocations: 93.12 kB / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.3028, allocations: 92.98 kB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3029, allocations: 4 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.303, allocations: 11.98 kB / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-06/0.303, allocations: 0 / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.303, allocations: 12.06 kB / 405.1 MB, free: 3.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.3031, allocations: 87.27 kB / 405.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3031, allocations: 3.938 kB / 405.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001905/0.3033, allocations: 16 kB / 405.2 MB, free: 3.43 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005684/0.3038, allocations: 0.6632 MB / 405.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.304, allocations: 40.23 kB / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.304, allocations: 4.125 kB / 405.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.304, allocations: 0 / 405.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3043, allocations: 44.7 kB / 406 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3055, allocations: 1.255 MB / 407.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3058, allocations: 0.6844 MB / 407.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.3058, allocations: 4 kB / 407.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.3059, allocations: 23.42 kB / 407.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3059, allocations: 0 / 407.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.33, allocations: 1.657 MB / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.152, allocations: 8.562 kB / 409.6 MB, free: 15.03 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_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_TimeBasedPulse.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches