Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 83.69 kB / 20.67 MB, free: 3.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 170 kB / 23.95 MB, free: 0.5898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9514/0.9514, allocations: 177.2 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.46e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002021/0.002046, allocations: 1.507 MB / 326.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.002693, allocations: 470.7 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.002762, allocations: 0 / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.002796, allocations: 7.922 kB / 326.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.002945, allocations: 11.88 kB / 326.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.003106, allocations: 35.59 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.0032, allocations: 59.77 kB / 326.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.003298, allocations: 12 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.003382, allocations: 31.97 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.003418, allocations: 19.92 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.003445, allocations: 7.984 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.003454, allocations: 4 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.003474, allocations: 7.984 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.003509, allocations: 19.94 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.003616, allocations: 51.8 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.003619, allocations: 0 / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.003621, allocations: 0 / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.003627, allocations: 3.984 kB / 326.8 MB, free: 13.69 MB / 298.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.0004257/0.004053, allocations: 301.5 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.004092, allocations: 8.031 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.004124, allocations: 38.73 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.004151, allocations: 12.89 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.004372, allocations: 117.7 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.004386, allocations: 12.38 kB / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.004395, allocations: 4.375 kB / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.004666, allocations: 139.7 kB / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.004675, allocations: 192 / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.004687, allocations: 8.125 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.004693, allocations: 0 / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/0.004758, allocations: 35.92 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.00487, allocations: 128.8 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.005007, allocations: 50.61 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.005054, allocations: 32.83 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.005074, allocations: 4 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.005091, allocations: 30.56 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.005092, allocations: 0 / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001951/0.005287, allocations: 93.5 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.005337, allocations: 59.41 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.005405, allocations: 117.8 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.005414, allocations: 25.7 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.005447, allocations: 88.12 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.005458, allocations: 0 / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.005484, allocations: 21.7 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.005562, allocations: 314.8 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.005573, allocations: 4 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.00558, allocations: 0 / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.005603, allocations: 16.8 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005605, allocations: 0 / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.068e-05/0.005656, allocations: 53.7 kB / 328.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.005671, allocations: 4 kB / 328.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005676, allocations: 0 / 328.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.005688, allocations: 3.938 kB / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.005726, allocations: 4 kB / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.00573, allocations: 0 / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.005745, allocations: 256 / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-06/0.005748, allocations: 0 / 328.5 MB, free: 11.8 MB / 298.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 5.655e-05/0.005805, allocations: 109.8 kB / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.005881, allocations: 81.64 kB / 328.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.005907, allocations: 8.438 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.005911, allocations: 3.938 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005914, allocations: 0 / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005917, allocations: 0 / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.865e-05/0.005975, allocations: 132.7 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005976, allocations: 3.938 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.006004, allocations: 7.984 kB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006006, allocations: 4 kB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.006012, allocations: 0 / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.006015, allocations: 3.938 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006015, allocations: 4 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.006387, allocations: 101 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.006397, allocations: 7.891 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.00641, allocations: 0 / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.00645, allocations: 19.92 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.006453, allocations: 3.984 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.006457, allocations: 0 / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.153e-05/0.006489, allocations: 91.28 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006489, allocations: 0 / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001168/0.006606, allocations: 11.94 kB / 329.1 MB, free: 11.14 MB / 298.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.0003358/0.006941, allocations: 0.6477 MB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.899e-05/0.00703, allocations: 28.11 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.007033, allocations: 4 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.007033, allocations: 0 / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.007297, allocations: 40.08 kB / 329.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.007996, allocations: 1.15 MB / 330.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.008038, allocations: 75.27 kB / 331 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.905e-05/0.008057, allocations: 0 / 331 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.008104, allocations: 16.5 kB / 331 MB, free: 9.047 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.008105, allocations: 0 / 331 MB, free: 9.047 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.02572, allocations: 2.288 MB / 333.3 MB, free: 6.887 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.971, allocations: 9.469 kB / 333.3 MB, free: 6.883 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.822240547277033]