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.001659/0.001659, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001558/0.001558, allocations: 210.2 kB / 23.73 MB, free: 4.531 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001497/0.001497, allocations: 43.94 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2963, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002911/0.2992, allocations: 1.483 MB / 432.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.3001, allocations: 474.8 kB / 433 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.3002, allocations: 0 / 433 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.3002, allocations: 3.938 kB / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3004, allocations: 11.86 kB / 433 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.3005, allocations: 35.95 kB / 433.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3007, allocations: 51.8 kB / 433.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3008, allocations: 19.72 kB / 433.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.3008, allocations: 15.98 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.3009, allocations: 31.86 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3009, allocations: 4 kB / 433.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.274e-05/0.3009, allocations: 4 kB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.3009, allocations: 7.984 kB / 433.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.301, allocations: 19.92 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.3011, allocations: 51.8 kB / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3011, allocations: 0 / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3011, allocations: 0 / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3011, allocations: 3.938 kB / 433.3 MB, free: 4.449 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.0005734/0.3017, allocations: 304 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3017, allocations: 12.03 kB / 433.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.3018, allocations: 34.73 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.3018, allocations: 8.891 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.3021, allocations: 126.5 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3021, allocations: 4.375 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3021, allocations: 8.375 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.3025, allocations: 139.3 kB / 433.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3025, allocations: 3.938 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3025, allocations: 0 / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3025, allocations: 0 / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3026, allocations: 39.84 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.3028, allocations: 136.8 kB / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3029, allocations: 46.62 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.303, allocations: 28.84 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.303, allocations: 4 kB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.3031, allocations: 34.5 kB / 434.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3031, allocations: 0 / 434.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003668/0.3034, allocations: 93.56 kB / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.3035, allocations: 59.41 kB / 434.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3037, allocations: 109.8 kB / 434.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3037, allocations: 29.7 kB / 434.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.3038, allocations: 88.12 kB / 434.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.3038, allocations: 0 / 434.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3038, allocations: 21.72 kB / 434.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.304, allocations: 318.8 kB / 434.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.304, allocations: 4 kB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.304, allocations: 49.09 kB / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.298e-05/0.3041, allocations: 61.08 kB / 435 MB, free: 2.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3041, allocations: 4 kB / 435 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001222/0.3042, allocations: 77.45 kB / 435.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3043, allocations: 4 kB / 435.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3043, allocations: 4 kB / 435.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3043, allocations: 0 / 435.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.3043, allocations: 8.188 kB / 435.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3043, allocations: 4 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.3044, allocations: 11.92 kB / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3044, allocations: 7.938 kB / 435.1 MB, free: 2.371 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 0.0001004/0.3045, allocations: 117.8 kB / 435.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3046, allocations: 73.58 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.3047, allocations: 8.375 kB / 435.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3047, allocations: 3.984 kB / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3047, allocations: 0 / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3047, allocations: 0 / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.3048, allocations: 132.8 kB / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3048, allocations: 0 / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.3049, allocations: 15.81 kB / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3049, allocations: 0 / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3049, allocations: 4 kB / 435.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3049, allocations: 4.297 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3049, allocations: 3.938 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.305, allocations: 97.08 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.3051, allocations: 11.92 kB / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3051, allocations: 0 / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.3052, allocations: 19.98 kB / 435.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-06/0.3052, allocations: 3.984 kB / 435.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3052, allocations: 4 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.3053, allocations: 87.27 kB / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3053, allocations: 0 / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001951/0.3055, allocations: 12 kB / 435.7 MB, free: 1.703 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.0006387/0.3062, allocations: 0.6671 MB / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.3063, allocations: 39.92 kB / 436.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3063, allocations: 0 / 436.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.3063, allocations: 0 / 436.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3066, allocations: 32.02 kB / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.3079, allocations: 1.243 MB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.247e-05/0.308, allocations: 79.28 kB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.081e-05/0.308, allocations: 0 / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.308, allocations: 19.42 kB / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.308, allocations: 0 / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.3392, allocations: 2.245 MB / 440 MB, free: 13.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.1, allocations: 2.812 kB / 440 MB, free: 13.36 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.560173165984452]