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.00185/0.00185, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.00221/0.00221, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.598/1.598, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00155/0.00155, allocations: 43.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.121, allocations: 53.35 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003043/0.124, allocations: 1.488 MB / 427.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.125, allocations: 0.491 MB / 428.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.125, allocations: 0 / 428.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.1251, allocations: 3.938 kB / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1252, allocations: 23.84 kB / 428.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.1254, allocations: 27.97 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1255, allocations: 59.72 kB / 428.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1257, allocations: 4 kB / 428.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.1258, allocations: 23.92 kB / 428.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.1258, allocations: 23.91 kB / 428.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1258, allocations: 8 kB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.1259, allocations: 4 kB / 428.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.1259, allocations: 11.98 kB / 428.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.1259, allocations: 27.8 kB / 428.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1261, allocations: 47.75 kB / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1261, allocations: 0 / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1261, allocations: 3.938 kB / 428.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1261, allocations: 0 / 428.6 MB, free: 2.523 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.0006943/0.1268, allocations: 379.3 kB / 428.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1268, allocations: 12.03 kB / 428.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1268, allocations: 38.73 kB / 429 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1269, allocations: 8.891 kB / 429 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1271, allocations: 176.3 kB / 429.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1272, allocations: 8.375 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.1272, allocations: 4.375 kB / 429.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.1276, allocations: 147.3 kB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1276, allocations: 0 / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1276, allocations: 0 / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.1276, allocations: 3.938 kB / 429.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1277, allocations: 31.98 kB / 429.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1279, allocations: 161.6 kB / 429.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.1281, allocations: 131.7 kB / 429.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.1282, allocations: 28.84 kB / 429.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1282, allocations: 0 / 429.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1283, allocations: 42.5 kB / 429.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.1283, allocations: 0 / 429.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003321/0.1286, allocations: 97.55 kB / 429.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.1287, allocations: 51.41 kB / 429.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1288, allocations: 113.8 kB / 430 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1288, allocations: 25.7 kB / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.1288, allocations: 84.14 kB / 430.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.1289, allocations: 11.88 kB / 430.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1289, allocations: 29.66 kB / 430.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.129, allocations: 318.8 kB / 430.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.129, allocations: 4 kB / 430.4 MB, free: 416 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.1291, allocations: 49.08 kB / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/0.1292, allocations: 57.09 kB / 430.5 MB, free: 272 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1292, allocations: 0 / 430.5 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000149/0.1293, allocations: 77.61 kB / 430.6 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1293, allocations: 12.03 kB / 430.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1293, allocations: 0 / 430.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1294, allocations: 4 kB / 430.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/0.1294, allocations: 7.984 kB / 430.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1294, allocations: 4 kB / 430.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.1294, allocations: 3.938 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1294, allocations: 4 kB / 430.6 MB, free: 152 kB / 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 9.307e-05/0.1295, allocations: 113.8 kB / 430.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.1297, allocations: 77.58 kB / 430.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.1297, allocations: 12.36 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1297, allocations: 0 / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1297, allocations: 4 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1297, allocations: 0 / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1299, allocations: 157.7 kB / 431 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1299, allocations: 0 / 431 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.1299, allocations: 15.86 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.1299, allocations: 4 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.13, allocations: 4.312 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.13, allocations: 0 / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.13, allocations: 8 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1302, allocations: 93.06 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.1302, allocations: 85.05 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1302, allocations: 0 / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.1303, allocations: 23.97 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-06/0.1303, allocations: 4 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.1303, allocations: 3.984 kB / 431.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.1304, allocations: 83.75 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1304, allocations: 3.938 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.1306, allocations: 12 kB / 431.3 MB, free: 15.36 MB / 366.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.000684/0.1313, allocations: 0.6631 MB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1314, allocations: 35.92 kB / 432 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1314, allocations: 0 / 432 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1314, allocations: 3.938 kB / 432 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1318, allocations: 40.12 kB / 432.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.133, allocations: 1.251 MB / 433.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1333, allocations: 0.6923 MB / 434 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.165e-05/0.1334, allocations: 3.984 kB / 434 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.1334, allocations: 15.44 kB / 434 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1334, allocations: 0 / 434 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.1589, allocations: 1.673 MB / 435.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/7.942, allocations: 6 kB / 435.7 MB, free: 10.95 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/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: 10.844446796996635]