Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.0007834/0.0007834, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0007996/0.0007996, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8621/0.8621, allocations: 177 MB / 204.1 MB, free: 5.758 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.188e-05, allocations: 3.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002009/0.002021, allocations: 1.537 MB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.002323, allocations: 147.4 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.00239, allocations: 7.938 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.562e-05/0.002476, allocations: 7.922 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.496e-05/0.002561, allocations: 7.938 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.002747, allocations: 39.83 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.002849, allocations: 43.86 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.002946, allocations: 15.97 kB / 326.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.002989, allocations: 19.92 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.052e-05/0.003019, allocations: 15.92 kB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.003042, allocations: 4 kB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.00305, allocations: 0 / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.003098, allocations: 12 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.003126, allocations: 23.91 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.496e-05/0.003221, allocations: 51.8 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003222, allocations: 0 / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003224, allocations: 0 / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003227, allocations: 0 / 326.4 MB, free: 13.97 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.0003304/0.003558, allocations: 294 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.003594, allocations: 11.98 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.003621, allocations: 38.75 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.003648, allocations: 8.891 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.003828, allocations: 145.5 kB / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.003846, allocations: 384 / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.003854, allocations: 4.375 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.00406, allocations: 122.4 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.004068, allocations: 192 / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.004076, allocations: 384 / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.004097, allocations: 8.125 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.004147, allocations: 27.92 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.004437, allocations: 329 kB / 327.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.004513, allocations: 79.72 kB / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.004549, allocations: 34.62 kB / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.004558, allocations: 3.938 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.004578, allocations: 38.5 kB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.004579, allocations: 0 / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002056/0.004785, allocations: 93.83 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.004837, allocations: 106.8 kB / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.004923, allocations: 140.8 kB / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.004933, allocations: 25.7 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.004977, allocations: 92.12 kB / 328 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.004986, allocations: 3.953 kB / 328 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.005011, allocations: 13.72 kB / 328 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.005093, allocations: 326.8 kB / 328.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.005115, allocations: 7.938 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.005143, allocations: 29.8 kB / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.005187, allocations: 33.7 kB / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005189, allocations: 0 / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.751e-05/0.005256, allocations: 61.52 kB / 328.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005267, allocations: 8 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005272, allocations: 0 / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.005282, allocations: 0 / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.351e-05/0.005296, allocations: 4.125 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.005301, allocations: 4 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.005319, allocations: 3.984 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.005324, allocations: 0 / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 7.195e-05/0.005396, allocations: 117.8 kB / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.005446, allocations: 61.52 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.005466, allocations: 11.92 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.005476, allocations: 3.984 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.005481, allocations: 4 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005484, allocations: 4.031 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.005633, allocations: 144.7 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.00564, allocations: 3.938 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-06/0.005645, allocations: 3.984 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.005646, allocations: 4 kB / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.005652, allocations: 0 / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005653, allocations: 0 / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.005655, allocations: 4 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.005784, allocations: 255.6 kB / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.005814, allocations: 19.81 kB / 329.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.005825, allocations: 8 kB / 329.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.005875, allocations: 0 / 329.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.005913, allocations: 15.92 kB / 329.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.005915, allocations: 0 / 329.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.005965, allocations: 103.3 kB / 329.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005965, allocations: 0 / 329.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.006138, allocations: 8 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0003461/0.006485, allocations: 0.7906 MB / 330 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.006585, allocations: 31.92 kB / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.006587, allocations: 0 / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.006617, allocations: 15.92 kB / 330.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.006936, allocations: 29.02 kB / 330.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.007889, allocations: 1.413 MB / 331.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.95e-05/0.007949, allocations: 75.58 kB / 331.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.825e-05/0.007977, allocations: 16.11 kB / 331.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.008016, allocations: 20.5 kB / 331.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008016, allocations: 0 / 331.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.02194, allocations: 2.371 MB / 334 MB, free: 6.027 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.74, allocations: 14.78 kB / 334 MB, free: 6.02 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y[1] in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[1] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! Error: Could not read variable sample1.y[2] in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.486313421279192]