Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.00134/0.00134, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001586/0.001586, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.521/1.521, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09886, allocations: 53.32 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002786/0.1016, allocations: 1.548 MB / 427.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.102, allocations: 147.5 kB / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.1021, allocations: 0 / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.724e-05/0.1022, allocations: 7.875 kB / 428 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.1023, allocations: 15.86 kB / 428 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1025, allocations: 39.89 kB / 428.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1026, allocations: 47.84 kB / 428.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1027, allocations: 11.98 kB / 428.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.1027, allocations: 19.92 kB / 428.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.1028, allocations: 19.86 kB / 428.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1028, allocations: 4 kB / 428.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.1028, allocations: 0 / 428.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.1029, allocations: 19.92 kB / 428.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.1029, allocations: 23.81 kB / 428.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.103, allocations: 59.67 kB / 428.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.103, allocations: 4 kB / 428.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1031, allocations: 0 / 428.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1031, allocations: 0 / 428.3 MB, free: 2.832 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.0005345/0.1036, allocations: 383 kB / 428.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1036, allocations: 15.97 kB / 428.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.1037, allocations: 38.73 kB / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1037, allocations: 8.891 kB / 428.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.104, allocations: 204.2 kB / 428.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.104, allocations: 384 / 428.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.104, allocations: 4.375 kB / 428.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1043, allocations: 118.5 kB / 429 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1043, allocations: 3.938 kB / 429 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1043, allocations: 8 kB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.1043, allocations: 0 / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.1045, allocations: 39.91 kB / 429.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.1049, allocations: 365.9 kB / 429.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1051, allocations: 79.78 kB / 429.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.1052, allocations: 34.62 kB / 429.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1052, allocations: 3.938 kB / 429.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1052, allocations: 42.55 kB / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1052, allocations: 0 / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003515/0.1056, allocations: 105.5 kB / 429.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.1057, allocations: 107.1 kB / 429.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1058, allocations: 151.7 kB / 429.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1058, allocations: 29.7 kB / 430 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1059, allocations: 88.12 kB / 430 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.1059, allocations: 15.88 kB / 430.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.1059, allocations: 17.72 kB / 430.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.1061, allocations: 322.8 kB / 430.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.1062, allocations: 15.92 kB / 430.4 MB, free: 400 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.244e-05/0.1063, allocations: 47.42 kB / 430.5 MB, free: 340 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1064, allocations: 63.28 kB / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1064, allocations: 4 kB / 430.5 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001792/0.1066, allocations: 81.55 kB / 430.6 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1066, allocations: 4 kB / 430.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1066, allocations: 4 kB / 430.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1066, allocations: 0 / 430.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.1067, allocations: 11.94 kB / 430.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1067, allocations: 0 / 430.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.1068, allocations: 12.11 kB / 430.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1068, allocations: 7.984 kB / 430.6 MB, free: 132 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[2],sample1.u[1],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.0001318/0.1069, allocations: 129.8 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.107, allocations: 45.66 kB / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.107, allocations: 11.8 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.1071, allocations: 4 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1071, allocations: 0 / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.524e-05/0.1071, allocations: 4 kB / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.1073, allocations: 177.6 kB / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1073, allocations: 0 / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.1074, allocations: 15.92 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1074, allocations: 0 / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1074, allocations: 0 / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1074, allocations: 0 / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1074, allocations: 4 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1077, allocations: 271.6 kB / 431.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.1078, allocations: 96.98 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1078, allocations: 0 / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1079, allocations: 7.984 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.1079, allocations: 4 kB / 431.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1079, allocations: 3.938 kB / 431.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.463e-05/0.108, allocations: 116.6 kB / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.108, allocations: 0 / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1083, allocations: 4 kB / 431.5 MB, free: 15.14 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[2],sample1.u[1],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.0005871/0.1088, allocations: 0.8016 MB / 432.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.109, allocations: 47.89 kB / 432.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.109, allocations: 3.938 kB / 432.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.854e-05/0.1091, allocations: 27.86 kB / 432.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1095, allocations: 25.48 kB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1112, allocations: 1.498 MB / 433.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1115, allocations: 0.6924 MB / 434.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.05e-05/0.1116, allocations: 11.98 kB / 434.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.1116, allocations: 11.44 kB / 434.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1116, allocations: 0 / 434.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.1359, allocations: 1.725 MB / 436.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/7.902, allocations: 6.938 kB / 436.4 MB, free: 10.29 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:time,step1.startTime,step2.startTime,sample1.u[1],sample1.u[2],sample1.y[1] [Calling sys.exit(0), Time elapsed: 10.850120556991897]