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.001385/0.001385, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001418/0.001418, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.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 0.001491/0.001491, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1105, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002998/0.1135, allocations: 1.539 MB / 427.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004219/0.1139, allocations: 143.5 kB / 428 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.114, allocations: 3.938 kB / 428 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.1141, allocations: 3.938 kB / 428 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.1142, allocations: 15.92 kB / 428 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.1144, allocations: 35.66 kB / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1145, allocations: 43.91 kB / 428.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1147, allocations: 15.94 kB / 428.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.1147, allocations: 15.92 kB / 428.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.1147, allocations: 23.84 kB / 428.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1148, allocations: 4 kB / 428.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.1148, allocations: 4 kB / 428.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.1148, allocations: 11.94 kB / 428.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.1149, allocations: 23.8 kB / 428.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.115, allocations: 55.75 kB / 428.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.115, allocations: 0 / 428.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.115, allocations: 4 kB / 428.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.115, allocations: 0 / 428.2 MB, free: 2.867 MB / 350.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.0005498/0.1156, allocations: 375.1 kB / 428.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1156, allocations: 12.03 kB / 428.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.1157, allocations: 30.75 kB / 428.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.1157, allocations: 12.83 kB / 428.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.116, allocations: 200.1 kB / 428.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.116, allocations: 384 / 428.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.116, allocations: 16.38 kB / 428.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1163, allocations: 118.4 kB / 429 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1163, allocations: 3.938 kB / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1164, allocations: 0 / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.1164, allocations: 4 kB / 429 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.1165, allocations: 31.92 kB / 429 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1169, allocations: 361.9 kB / 429.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1171, allocations: 75.78 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.68e-05/0.1171, allocations: 34.62 kB / 429.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.1171, allocations: 0 / 429.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1172, allocations: 38.5 kB / 429.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1172, allocations: 4 kB / 429.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000309/0.1175, allocations: 93.55 kB / 429.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.1176, allocations: 106.8 kB / 429.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1177, allocations: 139.8 kB / 429.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1177, allocations: 25.7 kB / 429.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.1178, allocations: 88.08 kB / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1178, allocations: 16.27 kB / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1179, allocations: 21.72 kB / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.118, allocations: 322.8 kB / 430.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.1181, allocations: 8 kB / 430.3 MB, free: 500 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.1181, allocations: 43.36 kB / 430.4 MB, free: 444 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1182, allocations: 55.34 kB / 430.4 MB, free: 376 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1182, allocations: 0 / 430.4 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001526/0.1184, allocations: 73.56 kB / 430.5 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1184, allocations: 8 kB / 430.5 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1184, allocations: 0 / 430.5 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1184, allocations: 4.125 kB / 430.5 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.133e-05/0.1185, allocations: 4 kB / 430.5 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1185, allocations: 0 / 430.5 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.1185, allocations: 4 kB / 430.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.1185, allocations: 0 / 430.5 MB, free: 276 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000141/0.1187, allocations: 129.7 kB / 430.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.1187, allocations: 53.64 kB / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.1188, allocations: 7.875 kB / 430.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.1188, allocations: 7.969 kB / 430.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1188, allocations: 4 kB / 430.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1188, allocations: 0 / 430.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.1191, allocations: 181.6 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1191, allocations: 3.984 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-06/0.1191, allocations: 0 / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1191, allocations: 4.094 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1191, allocations: 3.984 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1191, allocations: 0 / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1191, allocations: 0 / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1194, allocations: 263.5 kB / 431.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.1194, allocations: 93.05 kB / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1195, allocations: 4 kB / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.1196, allocations: 3.984 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1196, allocations: 4 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1196, allocations: 4 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.1197, allocations: 105.8 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1197, allocations: 3.938 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.12, allocations: 12 kB / 431.4 MB, free: 15.29 MB / 366.1 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.000616/0.1206, allocations: 0.7989 MB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1207, allocations: 35.91 kB / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1207, allocations: 0 / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.1208, allocations: 12 kB / 432.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.1212, allocations: 24.48 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1229, allocations: 1.466 MB / 433.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1233, allocations: 0.6924 MB / 434.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.1233, allocations: 7.984 kB / 434.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.1233, allocations: 11.44 kB / 434.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1233, allocations: 0 / 434.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.148, allocations: 1.726 MB / 436.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.337, allocations: 7.312 kB / 436.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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: 11.12651667901082]