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.001155/0.001155, allocations: 109.7 kB / 17.06 MB, free: 5.812 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.00117/0.001171, allocations: 200 kB / 18.01 MB, free: 4.941 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3017, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002625/0.3043, allocations: 1.477 MB / 401.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.3051, allocations: 457.6 kB / 402.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.3052, allocations: 7.875 kB / 402.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.3052, allocations: 0 / 402.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3053, allocations: 19.86 kB / 402.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3055, allocations: 35.89 kB / 402.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.036e-05/0.3056, allocations: 55.78 kB / 402.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.646e-05/0.3057, allocations: 8 kB / 402.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.3057, allocations: 23.91 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.3058, allocations: 19.92 kB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3058, allocations: 4 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.3058, allocations: 7.938 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.3058, allocations: 11.98 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3059, allocations: 23.88 kB / 402.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.3061, allocations: 54.89 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.3061, allocations: 0 / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.3061, allocations: 0 / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3061, allocations: 0 / 402.4 MB, free: 6.641 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.0004974/0.3066, allocations: 383.2 kB / 402.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3067, allocations: 15.89 kB / 402.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.3067, allocations: 34.75 kB / 402.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.3067, allocations: 8.891 kB / 402.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.3069, allocations: 180.4 kB / 403 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3069, allocations: 4.312 kB / 403 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3069, allocations: 4.375 kB / 403 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.3073, allocations: 151.3 kB / 403.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3073, allocations: 0 / 403.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.3073, allocations: 0 / 403.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3073, allocations: 0 / 403.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.719e-05/0.3074, allocations: 27.98 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.3075, allocations: 173.6 kB / 403.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.3077, allocations: 131.7 kB / 403.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.3078, allocations: 32.84 kB / 403.5 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3078, allocations: 3.984 kB / 403.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3078, allocations: 38.5 kB / 403.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3079, allocations: 4 kB / 403.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002253/0.3081, allocations: 77.67 kB / 403.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3081, allocations: 63.39 kB / 403.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.3082, allocations: 113.8 kB / 403.8 MB, free: 5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3083, allocations: 33.64 kB / 403.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.3083, allocations: 84.08 kB / 404 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.3083, allocations: 8 kB / 404 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.3084, allocations: 17.72 kB / 404 MB, free: 4.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.3086, allocations: 314.8 kB / 404.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.3086, allocations: 12 kB / 404.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.3086, allocations: 45.14 kB / 404.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.3087, allocations: 53.09 kB / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3087, allocations: 0 / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001063/0.3088, allocations: 73.5 kB / 404.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3088, allocations: 8 kB / 404.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3088, allocations: 0 / 404.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3089, allocations: 4 kB / 404.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.3089, allocations: 16.12 kB / 404.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3089, allocations: 7.984 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.309, allocations: 7.891 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.309, allocations: 4.25 kB / 404.5 MB, free: 4.258 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.021e-05/0.3091, allocations: 117.8 kB / 404.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.3092, allocations: 69.56 kB / 404.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.3092, allocations: 16.36 kB / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3092, allocations: 0 / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3092, allocations: 4 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3092, allocations: 4 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.3094, allocations: 161.6 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3094, allocations: 0 / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.3094, allocations: 11.92 kB / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3094, allocations: 7.984 kB / 404.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3095, allocations: 0 / 404.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3095, allocations: 0 / 404.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3095, allocations: 0 / 404.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3096, allocations: 97.11 kB / 405 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3097, allocations: 92.94 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3097, allocations: 0 / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.3098, allocations: 19.92 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-06/0.3098, allocations: 0 / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.3098, allocations: 7.922 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.45e-05/0.3099, allocations: 87.75 kB / 405.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3099, allocations: 4 kB / 405.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.3101, allocations: 12 kB / 405.2 MB, free: 3.457 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.0004899/0.3106, allocations: 0.6556 MB / 405.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.3107, allocations: 44.23 kB / 405.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.3107, allocations: 0 / 405.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.3107, allocations: 0 / 405.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3111, allocations: 51.86 kB / 406 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.3121, allocations: 1.249 MB / 407.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3123, allocations: 0.6938 MB / 407.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.02e-05/0.3123, allocations: 7.984 kB / 407.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.3124, allocations: 15.44 kB / 407.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3124, allocations: 0 / 407.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.3287, allocations: 1.648 MB / 409.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.999, allocations: 8.625 kB / 409.6 MB, free: 15.07 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