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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008236/0.0008236, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007954/0.0007954, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8833/0.8833, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.358e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003237/0.003261, allocations: 1.477 MB / 319.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000828/0.004089, allocations: 426.9 kB / 320.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.004165, allocations: 3.938 kB / 320.3 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.004201, allocations: 3.938 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.00439, allocations: 27.78 kB / 320.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.004597, allocations: 27.91 kB / 320.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.004722, allocations: 55.78 kB / 320.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.004838, allocations: 11.94 kB / 320.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.004942, allocations: 31.91 kB / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.004993, allocations: 19.97 kB / 320.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.005024, allocations: 4 kB / 320.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.005036, allocations: 4 kB / 320.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.005061, allocations: 11.92 kB / 320.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.005095, allocations: 12 kB / 320.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.005224, allocations: 51.8 kB / 320.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005227, allocations: 4 kB / 320.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005229, allocations: 0 / 320.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005233, allocations: 0 / 320.6 MB, free: 4.188 MB / 282.7 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.0005463/0.00578, allocations: 305.5 kB / 320.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.005827, allocations: 12.92 kB / 320.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.00587, allocations: 46.73 kB / 320.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.00591, allocations: 8.891 kB / 320.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.006152, allocations: 133.7 kB / 321.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.006168, allocations: 384 / 321.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.006181, allocations: 4.375 kB / 321.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.006543, allocations: 139.8 kB / 321.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.006552, allocations: 4.188 kB / 321.2 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.006565, allocations: 4.125 kB / 321.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.006571, allocations: 0 / 321.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.006662, allocations: 27.98 kB / 321.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.006809, allocations: 136.6 kB / 321.4 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.006996, allocations: 54.55 kB / 321.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.007057, allocations: 28.84 kB / 321.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.007081, allocations: 4 kB / 321.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.007102, allocations: 34.5 kB / 321.5 MB, free: 3.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.007103, allocations: 4 kB / 321.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002539/0.007357, allocations: 89.56 kB / 321.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.007416, allocations: 63.34 kB / 321.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.007505, allocations: 109.8 kB / 321.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.007519, allocations: 25.7 kB / 321.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.00756, allocations: 84.14 kB / 321.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.007572, allocations: 0 / 321.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.007608, allocations: 21.7 kB / 321.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.007708, allocations: 310.8 kB / 322.2 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.00772, allocations: 4 kB / 322.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-06/0.007729, allocations: 4 kB / 322.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.007761, allocations: 12.86 kB / 322.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007763, allocations: 0 / 322.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.874e-05/0.007832, allocations: 45.69 kB / 322.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.00785, allocations: 7.938 kB / 322.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.007855, allocations: 0 / 322.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.007872, allocations: 3.938 kB / 322.3 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.007915, allocations: 4 kB / 322.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.007921, allocations: 0 / 322.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.00794, allocations: 4.094 kB / 322.3 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.007944, allocations: 0 / 322.3 MB, free: 2.289 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.429e-05/0.008018, allocations: 109.8 kB / 322.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.008138, allocations: 73.94 kB / 322.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.00817, allocations: 8.438 kB / 322.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.008173, allocations: 3.938 kB / 322.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.00818, allocations: 4 kB / 322.5 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008183, allocations: 4 kB / 322.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.00827, allocations: 124.8 kB / 322.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.008271, allocations: 0 / 322.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.008313, allocations: 15.92 kB / 322.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.008319, allocations: 7.984 kB / 322.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.008327, allocations: 0 / 322.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.00833, allocations: 3.938 kB / 322.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008331, allocations: 0 / 322.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.008472, allocations: 105 kB / 322.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.008484, allocations: 0 / 322.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.008503, allocations: 4 kB / 322.7 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.008569, allocations: 23.86 kB / 322.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-06/0.008571, allocations: 0 / 322.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.008581, allocations: 7.984 kB / 322.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.008628, allocations: 87.58 kB / 322.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.008628, allocations: 0 / 322.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.008857, allocations: 12 kB / 322.9 MB, free: 1.625 MB / 282.7 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.0004752/0.009332, allocations: 0.6515 MB / 323.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.009446, allocations: 32.05 kB / 323.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009448, allocations: 0 / 323.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.009448, allocations: 0 / 323.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.009804, allocations: 43.88 kB / 323.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.01094, allocations: 1.142 MB / 324.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.01101, allocations: 71.33 kB / 324.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.01105, allocations: 0 / 324.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.01111, allocations: 20.59 kB / 324.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.493e-06/0.01111, allocations: 0 / 324.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.03344, allocations: 2.291 MB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.749, allocations: 7.266 kB / 327.1 MB, free: 13.37 MB / 298.7 MB " [Timeout remaining time 653] (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.000199561 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.575585633516312]