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.001753/0.001753, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001697/0.001697, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.444/1.444, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.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.001485/0.001485, allocations: 51.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003095/0.1054, allocations: 1.491 MB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.1063, allocations: 470.8 kB / 419.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.1064, allocations: 0 / 419.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.1065, allocations: 3.938 kB / 419.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1066, allocations: 15.86 kB / 419.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1068, allocations: 31.91 kB / 419.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1069, allocations: 51.84 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.107, allocations: 7.984 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.1071, allocations: 23.92 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.1072, allocations: 27.84 kB / 419.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1072, allocations: 4 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.1072, allocations: 8 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.1072, allocations: 4 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.1073, allocations: 35.8 kB / 419.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1074, allocations: 47.8 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1074, allocations: 0 / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1074, allocations: 0 / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1074, allocations: 0 / 420 MB, free: 10.39 MB / 350.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.0006713/0.1081, allocations: 379.3 kB / 420.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1081, allocations: 12.02 kB / 420.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.1082, allocations: 38.75 kB / 420.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1082, allocations: 4.891 kB / 420.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1085, allocations: 180.3 kB / 420.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1085, allocations: 4.375 kB / 420.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1085, allocations: 8.312 kB / 420.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.1089, allocations: 147.3 kB / 420.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1089, allocations: 0 / 420.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1089, allocations: 4 kB / 420.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.109, allocations: 0 / 420.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1091, allocations: 35.91 kB / 420.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.1092, allocations: 161.7 kB / 420.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1095, allocations: 131.7 kB / 421.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.1095, allocations: 32.78 kB / 421.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1096, allocations: 7.984 kB / 421.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1096, allocations: 34.5 kB / 421.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1096, allocations: 4 kB / 421.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002719/0.1099, allocations: 81.67 kB / 421.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.1099, allocations: 55.41 kB / 421.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.11, allocations: 113.8 kB / 421.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.11, allocations: 25.7 kB / 421.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1101, allocations: 88.14 kB / 421.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1101, allocations: 3.938 kB / 421.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.1102, allocations: 21.7 kB / 421.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1103, allocations: 326.8 kB / 421.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.1103, allocations: 4 kB / 421.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.1104, allocations: 49.14 kB / 421.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.968e-05/0.1105, allocations: 57.09 kB / 421.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1105, allocations: 4 kB / 422 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001091/0.1106, allocations: 73.5 kB / 422 MB, free: 8.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1106, allocations: 4.188 kB / 422 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1106, allocations: 11.98 kB / 422 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1106, allocations: 256 / 422 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.1107, allocations: 15.92 kB / 422.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1107, allocations: 4 kB / 422.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.1107, allocations: 7.953 kB / 422.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1107, allocations: 7.938 kB / 422.1 MB, free: 8.004 MB / 350.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 0.000105/0.1108, allocations: 113.8 kB / 422.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.111, allocations: 73.61 kB / 422.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.111, allocations: 16.31 kB / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.111, allocations: 0 / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.111, allocations: 0 / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.111, allocations: 0 / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1112, allocations: 169.6 kB / 422.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1112, allocations: 0 / 422.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.1112, allocations: 7.938 kB / 422.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1112, allocations: 0 / 422.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1112, allocations: 4 kB / 422.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1112, allocations: 0 / 422.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1112, allocations: 4 kB / 422.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.1114, allocations: 93.11 kB / 422.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.1115, allocations: 85 kB / 422.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1115, allocations: 11.92 kB / 422.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.1116, allocations: 15.98 kB / 422.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.1116, allocations: 4 kB / 422.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1116, allocations: 7.938 kB / 422.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.1116, allocations: 83.28 kB / 422.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1116, allocations: 0 / 422.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001969/0.1118, allocations: 8 kB / 422.8 MB, free: 7.219 MB / 350.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.0006418/0.1125, allocations: 0.6633 MB / 423.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1126, allocations: 43.91 kB / 423.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1126, allocations: 0 / 423.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.1126, allocations: 0 / 423.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.113, allocations: 43.88 kB / 423.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1142, allocations: 1.243 MB / 424.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1146, allocations: 0.6922 MB / 425.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.1146, allocations: 4 kB / 425.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.1146, allocations: 15.44 kB / 425.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1146, allocations: 3.938 kB / 425.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4302/0.5448, allocations: 1.675 MB / 427.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.623, allocations: 11.38 kB / 427.1 MB, free: 2.809 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.31526007084176]