Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008283/0.0008283, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007738/0.0007738, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9158/0.9158, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.435e-05, allocations: 3.266 kB / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002912/0.002937, allocations: 1.498 MB / 326 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008858/0.003822, allocations: 462.8 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.003892, allocations: 0 / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.003929, allocations: 7.922 kB / 326.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.004104, allocations: 15.88 kB / 326.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.00427, allocations: 35.83 kB / 326.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.666e-05/0.004367, allocations: 55.8 kB / 326.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.004467, allocations: 15.97 kB / 326.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.226e-05/0.004539, allocations: 31.92 kB / 326.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.004578, allocations: 15.97 kB / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.004601, allocations: 4 kB / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.00461, allocations: 4 kB / 326.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.004629, allocations: 11.92 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.004657, allocations: 23.98 kB / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.759e-05/0.004755, allocations: 47.8 kB / 326.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.004758, allocations: 0 / 326.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004759, allocations: 4 kB / 326.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.004763, allocations: 0 / 326.7 MB, free: 13.55 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.0004219/0.005185, allocations: 298.2 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.005222, allocations: 15.98 kB / 327 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.005251, allocations: 30.75 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.005273, allocations: 16.83 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.005443, allocations: 125.7 kB / 327.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.005454, allocations: 384 / 327.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.005464, allocations: 8.375 kB / 327.2 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.005717, allocations: 139.7 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.005724, allocations: 192 / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.005732, allocations: 8.125 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005737, allocations: 4 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.005798, allocations: 27.92 kB / 327.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.005902, allocations: 136.7 kB / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.006028, allocations: 50.62 kB / 327.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.006072, allocations: 32.83 kB / 327.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.006091, allocations: 4 kB / 327.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.006107, allocations: 30.56 kB / 327.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.41e-07/0.006108, allocations: 0 / 327.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001752/0.006283, allocations: 101.7 kB / 327.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.006324, allocations: 55.41 kB / 327.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.006387, allocations: 113.8 kB / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.006396, allocations: 25.7 kB / 327.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.006425, allocations: 88.12 kB / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.447e-06/0.006435, allocations: 0 / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.006458, allocations: 13.72 kB / 328 MB, free: 12.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.006531, allocations: 314.8 kB / 328.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.006541, allocations: 4 kB / 328.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.006546, allocations: 0 / 328.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.006568, allocations: 20.91 kB / 328.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006569, allocations: 0 / 328.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.15e-05/0.006611, allocations: 45.59 kB / 328.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.006621, allocations: 4 kB / 328.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.006625, allocations: 0 / 328.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.006636, allocations: 3.938 kB / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.194e-05/0.006668, allocations: 4 kB / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.006672, allocations: 320 / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.006684, allocations: 0 / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.006687, allocations: 32 / 328.4 MB, free: 11.66 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.63e-05/0.006743, allocations: 121.8 kB / 328.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.006815, allocations: 65.69 kB / 328.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.006838, allocations: 12.38 kB / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006841, allocations: 3.938 kB / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.006844, allocations: 0 / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.006848, allocations: 7.984 kB / 328.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.007237, allocations: 128.7 kB / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.007239, allocations: 3.938 kB / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.00727, allocations: 7.938 kB / 328.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007272, allocations: 8 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.007279, allocations: 0 / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.007281, allocations: 3.938 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007282, allocations: 3.984 kB / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.275e-05/0.007375, allocations: 93.3 kB / 328.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.007385, allocations: 7.891 kB / 328.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.007402, allocations: 15.98 kB / 328.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.00744, allocations: 15.92 kB / 328.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.007442, allocations: 4 kB / 328.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.007447, allocations: 7.938 kB / 328.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.101e-05/0.007478, allocations: 87.27 kB / 329 MB, free: 11 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007478, allocations: 0 / 329 MB, free: 11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.007596, allocations: 8 kB / 329 MB, free: 10.99 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.000325/0.007921, allocations: 0.6477 MB / 329.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.008001, allocations: 27.92 kB / 329.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008002, allocations: 128 / 329.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.008003, allocations: 4 kB / 329.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.00823, allocations: 38.2 kB / 329.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.008889, allocations: 1.144 MB / 330.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.008934, allocations: 79.2 kB / 330.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.652e-05/0.00895, allocations: 0 / 330.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.00899, allocations: 12.5 kB / 331 MB, free: 8.906 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.00899, allocations: 4.031 kB / 331 MB, free: 8.902 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.02422, allocations: 2.293 MB / 333.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/6.677, allocations: 4.062 kB / 333.3 MB, free: 6.711 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.461611076258123]