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.00129/0.00129, allocations: 112.9 kB / 17.06 MB, free: 5.992 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.001221/0.001221, allocations: 196 kB / 18.01 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.494/1.494, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 51.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3013, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002655/0.304, allocations: 1.475 MB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.3048, allocations: 463.4 kB / 402.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.3048, allocations: 0 / 402.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.3049, allocations: 7.922 kB / 402.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.305, allocations: 15.86 kB / 402.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.3052, allocations: 27.91 kB / 402.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3053, allocations: 59.78 kB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.3054, allocations: 7.984 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.3055, allocations: 19.94 kB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.3055, allocations: 27.91 kB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3056, allocations: 4 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.3056, allocations: 4 kB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.3056, allocations: 11.92 kB / 402.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.3057, allocations: 35.8 kB / 402.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3058, allocations: 50.89 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3058, allocations: 0 / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3058, allocations: 0 / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3058, allocations: 0 / 402.4 MB, free: 6.609 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.0006181/0.3064, allocations: 383.2 kB / 402.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3065, allocations: 8.031 kB / 402.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.3065, allocations: 38.75 kB / 402.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3066, allocations: 4.891 kB / 402.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.3068, allocations: 180.4 kB / 403 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3069, allocations: 4.375 kB / 403 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3069, allocations: 384 / 403 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.3073, allocations: 151.2 kB / 403.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3073, allocations: 4 kB / 403.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.3073, allocations: 0 / 403.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3073, allocations: 4 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3074, allocations: 31.97 kB / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.3076, allocations: 157.7 kB / 403.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3078, allocations: 135.7 kB / 403.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.3079, allocations: 28.84 kB / 403.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3079, allocations: 4 kB / 403.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.308, allocations: 42.44 kB / 403.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.308, allocations: 0 / 403.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002755/0.3082, allocations: 81.67 kB / 403.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.3083, allocations: 59.41 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3084, allocations: 109.8 kB / 403.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3085, allocations: 25.7 kB / 403.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.3085, allocations: 96.02 kB / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.3085, allocations: 4 kB / 404 MB, free: 4.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3086, allocations: 21.7 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.3088, allocations: 318.8 kB / 404.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.3088, allocations: 7.938 kB / 404.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.3089, allocations: 45.14 kB / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.078e-05/0.309, allocations: 53.09 kB / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.309, allocations: 0 / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001272/0.3091, allocations: 81.75 kB / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3091, allocations: 7.984 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3091, allocations: 4 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3092, allocations: 0 / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.176e-05/0.3092, allocations: 15.94 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3092, allocations: 0 / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.3093, allocations: 15.89 kB / 404.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3093, allocations: 4 kB / 404.5 MB, free: 4.234 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 9.627e-05/0.3094, allocations: 118 kB / 404.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3095, allocations: 65.61 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.3096, allocations: 12.38 kB / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3096, allocations: 0 / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3096, allocations: 0 / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3096, allocations: 3.938 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3098, allocations: 173.6 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3098, allocations: 4 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.3098, allocations: 7.938 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3098, allocations: 0 / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3099, allocations: 4 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3099, allocations: 0 / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3099, allocations: 4 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.31, allocations: 89.11 kB / 405 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.3101, allocations: 85 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3101, allocations: 11.98 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3103, allocations: 15.98 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-06/0.3103, allocations: 0 / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3103, allocations: 7.938 kB / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.411e-05/0.3103, allocations: 83.28 kB / 405.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3104, allocations: 3.938 kB / 405.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001922/0.3106, allocations: 8 kB / 405.2 MB, free: 3.449 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.0006637/0.3112, allocations: 0.6718 MB / 405.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.3114, allocations: 43.91 kB / 405.9 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3114, allocations: 3.938 kB / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3114, allocations: 0 / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.3117, allocations: 40.38 kB / 406 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.3129, allocations: 1.254 MB / 407.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3132, allocations: 0.6883 MB / 407.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.152e-05/0.3132, allocations: 4 kB / 407.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.3133, allocations: 15.44 kB / 407.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3133, allocations: 0 / 407.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.3366, allocations: 1.652 MB / 409.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.077, allocations: 0.625 kB / 409.6 MB, free: 15.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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