Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.001305/0.001305, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.00166/0.00166, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9411/0.9411, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.324e-05, allocations: 4.531 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003465/0.003488, allocations: 1.532 MB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004938/0.003982, allocations: 155.4 kB / 326.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.004086, allocations: 4 kB / 326.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.004215, allocations: 7.922 kB / 326.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.004339, allocations: 11.88 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.004631, allocations: 39.83 kB / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.004752, allocations: 39.86 kB / 326.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004868, allocations: 15.98 kB / 326.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.506e-05/0.004923, allocations: 27.91 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.004956, allocations: 7.984 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.004983, allocations: 0 / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.004997, allocations: 4 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.005056, allocations: 19.94 kB / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.005089, allocations: 15.92 kB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.005214, allocations: 51.75 kB / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005217, allocations: 4 kB / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005218, allocations: 0 / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.005223, allocations: 0 / 326.5 MB, free: 14.01 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.0004445/0.005667, allocations: 294 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.005714, allocations: 15.95 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.005757, allocations: 34.75 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.005788, allocations: 8.891 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.006045, allocations: 137.6 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.006072, allocations: 4.375 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.006084, allocations: 4.375 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.006398, allocations: 114.5 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.006411, allocations: 192 / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006422, allocations: 384 / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.006457, allocations: 16.05 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.006532, allocations: 27.98 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.006856, allocations: 332.9 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.111e-05/0.006938, allocations: 79.72 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.006978, allocations: 34.62 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.006988, allocations: 3.938 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.007006, allocations: 30.56 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.007007, allocations: 4 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000213/0.00722, allocations: 97.59 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.007271, allocations: 110.8 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.007356, allocations: 137 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.007365, allocations: 25.7 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.007406, allocations: 88.14 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.007415, allocations: 7.938 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.007441, allocations: 17.72 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.00751, allocations: 314.8 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.007534, allocations: 12.27 kB / 328.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.007555, allocations: 21.72 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.007598, allocations: 33.64 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.0076, allocations: 0 / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.512e-05/0.007665, allocations: 61.56 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.007678, allocations: 8 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007682, allocations: 3.938 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.007695, allocations: 4.125 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-05/0.007711, allocations: 3.938 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.007717, allocations: 0 / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.007732, allocations: 4 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.007739, allocations: 4 kB / 328.5 MB, free: 11.69 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 8.57e-05/0.007825, allocations: 117.8 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.007878, allocations: 57.58 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.007902, allocations: 15.92 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.007912, allocations: 0 / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.007917, allocations: 4.031 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.007922, allocations: 7.984 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.008073, allocations: 140.8 kB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.008078, allocations: 3.938 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-06/0.00808, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.008195, allocations: 7.984 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.008201, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.008204, allocations: 3.938 kB / 328.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.008206, allocations: 3.984 kB / 328.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.008509, allocations: 255.6 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.008542, allocations: 27.81 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.008556, allocations: 4 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.008605, allocations: 0 / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.008646, allocations: 7.938 kB / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.008649, allocations: 0 / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.068e-05/0.0087, allocations: 107.2 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0087, allocations: 0 / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.008869, allocations: 4 kB / 329.3 MB, free: 10.86 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.0003546/0.009224, allocations: 0.7984 MB / 330.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.009326, allocations: 31.92 kB / 330.1 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009328, allocations: 0 / 330.1 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.009351, allocations: 15.98 kB / 330.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.009646, allocations: 26.36 kB / 330.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.01052, allocations: 1.417 MB / 331.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.01058, allocations: 75.58 kB / 331.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.833e-05/0.01061, allocations: 11.98 kB / 331.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.01064, allocations: 16.5 kB / 331.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01064, allocations: 0 / 331.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.02627, allocations: 2.372 MB / 334.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.052, allocations: 13.66 kB / 334.1 MB, free: 6.09 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[1] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! Error: Could not read variable sample1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.95612699445337]