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.001687/0.001687, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001285/0.001285, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.437/1.437, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001792/0.001792, allocations: 47.92 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2593, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00327/0.2625, allocations: 1.474 MB / 424.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.2633, allocations: 427 kB / 424.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.2634, allocations: 4 kB / 424.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.2634, allocations: 3.938 kB / 424.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.2635, allocations: 19.84 kB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.2637, allocations: 23.97 kB / 424.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2638, allocations: 59.78 kB / 424.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.2639, allocations: 7.734 kB / 424.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.264, allocations: 31.92 kB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.2641, allocations: 19.91 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2641, allocations: 4 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2641, allocations: 4 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.2641, allocations: 11.98 kB / 424.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.2642, allocations: 23.86 kB / 424.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.2643, allocations: 39.88 kB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2643, allocations: 0 / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.2643, allocations: 4 kB / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2643, allocations: 0 / 424.7 MB, free: 12.23 MB / 334.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.0005552/0.2648, allocations: 315.8 kB / 425 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2649, allocations: 8.031 kB / 425 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.2649, allocations: 38.75 kB / 425.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.2649, allocations: 12.81 kB / 425.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.2652, allocations: 122.5 kB / 425.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2652, allocations: 4.375 kB / 425.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2652, allocations: 384 / 425.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.2656, allocations: 151.3 kB / 425.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2656, allocations: 0 / 425.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2656, allocations: 0 / 425.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2656, allocations: 0 / 425.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/0.2657, allocations: 35.92 kB / 425.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.2659, allocations: 132.8 kB / 425.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.266, allocations: 54.61 kB / 425.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.2661, allocations: 28.84 kB / 425.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.2661, allocations: 0 / 425.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2661, allocations: 38.5 kB / 425.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2661, allocations: 0 / 425.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002519/0.2664, allocations: 85.61 kB / 425.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.2664, allocations: 55.41 kB / 425.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2665, allocations: 117.8 kB / 425.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2666, allocations: 25.7 kB / 425.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.2666, allocations: 84.14 kB / 426 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.2666, allocations: 4 kB / 426 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.2666, allocations: 21.7 kB / 426 MB, free: 10.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2668, allocations: 314.8 kB / 426.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.2668, allocations: 8 kB / 426.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.972e-05/0.2669, allocations: 49.44 kB / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.2669, allocations: 61.03 kB / 426.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2669, allocations: 3.938 kB / 426.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001141/0.267, allocations: 77.5 kB / 426.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2671, allocations: 7.984 kB / 426.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2671, allocations: 4 kB / 426.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2671, allocations: 4.188 kB / 426.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.2671, allocations: 8 kB / 426.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2671, allocations: 160 / 426.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.2672, allocations: 15.83 kB / 426.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.2672, allocations: 4 kB / 426.6 MB, free: 10.15 MB / 334.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.83e-05/0.2673, allocations: 121.8 kB / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.2674, allocations: 69.61 kB / 426.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.2674, allocations: 12.38 kB / 426.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2674, allocations: 0 / 426.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2674, allocations: 0 / 426.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2674, allocations: 4 kB / 426.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2676, allocations: 132.7 kB / 426.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2676, allocations: 0 / 426.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.2676, allocations: 12.23 kB / 426.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2676, allocations: 3.938 kB / 426.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2676, allocations: 4 kB / 426.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2676, allocations: 3.984 kB / 426.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2676, allocations: 4 kB / 426.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.2678, allocations: 93.09 kB / 427 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.2678, allocations: 15.89 kB / 427 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2678, allocations: 4 kB / 427 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.2679, allocations: 15.98 kB / 427.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-06/0.2679, allocations: 0 / 427.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2679, allocations: 3.984 kB / 427.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.268, allocations: 87.28 kB / 427.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.268, allocations: 0 / 427.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001846/0.2681, allocations: 4 kB / 427.2 MB, free: 9.488 MB / 334.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.000563/0.2687, allocations: 0.6671 MB / 427.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.2688, allocations: 35.92 kB / 427.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2688, allocations: 0 / 427.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.2688, allocations: 0 / 427.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.2691, allocations: 36 kB / 427.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.2703, allocations: 1.261 MB / 429.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.2703, allocations: 71.2 kB / 429.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.856e-05/0.2704, allocations: 7.922 kB / 429.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.2704, allocations: 15.44 kB / 429.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2704, allocations: 0 / 429.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.2986, allocations: 2.204 MB / 431.4 MB, free: 5.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.07, allocations: 8 kB / 431.5 MB, free: 5.168 MB / 334.1 MB " [Timeout remaining time 649] (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/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) [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: 13.587796436157078]