Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001147/0.001147, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.001284/0.001284, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9046/0.9046, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.073e-05, allocations: 6.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002306/0.002327, allocations: 1.508 MB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004223/0.002749, allocations: 143.4 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.00286, allocations: 7.938 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.154e-05/0.002912, allocations: 3.984 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.003082, allocations: 11.94 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.003347, allocations: 35.78 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.003447, allocations: 27.92 kB / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.003557, allocations: 7.984 kB / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.71e-05/0.003604, allocations: 15.94 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.003637, allocations: 7.984 kB / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.003663, allocations: 3.984 kB / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.003673, allocations: 4 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.003725, allocations: 11.94 kB / 326.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.003746, allocations: 7.984 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.003853, allocations: 43.83 kB / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003855, allocations: 0 / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.003856, allocations: 0 / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.003861, allocations: 0 / 326.4 MB, free: 14.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003978/0.004259, allocations: 285 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.004301, allocations: 12.03 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.004331, allocations: 38.69 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.004354, allocations: 8.891 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.004527, allocations: 128.2 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.004544, allocations: 8.375 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.004551, allocations: 384 / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.004731, allocations: 89.61 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004739, allocations: 192 / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.004748, allocations: 4.375 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004755, allocations: 8.109 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.004784, allocations: 7.938 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.005034, allocations: 228.8 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.005086, allocations: 45.16 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.005107, allocations: 17.77 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.005123, allocations: 0 / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.005144, allocations: 46.44 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.005145, allocations: 0 / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001466/0.005292, allocations: 57.58 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.005336, allocations: 77.11 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.005421, allocations: 129.8 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.00543, allocations: 29.95 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.005466, allocations: 88.12 kB / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.005473, allocations: 3.953 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.005498, allocations: 17.72 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.005572, allocations: 310.8 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.005588, allocations: 4 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.005601, allocations: 11.98 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.005627, allocations: 12.8 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005628, allocations: 0 / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.79e-05/0.005676, allocations: 49.69 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.005688, allocations: 4 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.005696, allocations: 0 / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.005708, allocations: 0 / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.374e-05/0.005721, allocations: 3.938 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.005726, allocations: 0 / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.00574, allocations: 8 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.005747, allocations: 0 / 328.1 MB, free: 12.16 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: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.318e-05/0.00581, allocations: 113.8 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.00585, allocations: 53.56 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.005877, allocations: 7.422 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005878, allocations: 0 / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.005885, allocations: 8 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.00589, allocations: 3.984 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.005999, allocations: 132.8 kB / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006, allocations: 0 / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-06/0.006004, allocations: 0 / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.006009, allocations: 7.938 kB / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.006016, allocations: 0 / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006017, allocations: 0 / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006017, allocations: 4.031 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.006117, allocations: 152.3 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.006145, allocations: 15.88 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.006158, allocations: 8 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.006191, allocations: 0 / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.00622, allocations: 0 / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.006223, allocations: 4 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.006278, allocations: 101.9 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.006278, allocations: 3.938 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.006424, allocations: 8 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003079/0.006732, allocations: 0.6782 MB / 329.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.112e-05/0.006823, allocations: 19.92 kB / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006825, allocations: 0 / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.006838, allocations: 4 kB / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.007085, allocations: 16.02 kB / 329.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.007847, allocations: 1.24 MB / 330.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.007901, allocations: 71.58 kB / 330.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.597e-05/0.007917, allocations: 7.938 kB / 330.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.007951, allocations: 8.5 kB / 330.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007952, allocations: 0 / 330.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.0226, allocations: 2.024 MB / 332.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.061, allocations: 10.19 kB / 332.8 MB, free: 7.383 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv: Error: Error opening file: Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.857821209356189]