Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001751/0.001751, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 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.002091/0.002091, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 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 1.39/1.39, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.1013, allocations: 53.39 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003047/0.1043, allocations: 1.55 MB / 427.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.1047, allocations: 147.5 kB / 428 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.1048, allocations: 0 / 428 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.1049, allocations: 15.86 kB / 428.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.521e-05/0.105, allocations: 7.938 kB / 428.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1052, allocations: 43.89 kB / 428.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.1053, allocations: 39.86 kB / 428.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.1054, allocations: 11.98 kB / 428.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.1055, allocations: 27.84 kB / 428.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.1055, allocations: 11.94 kB / 428.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1056, allocations: 4 kB / 428.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.1056, allocations: 4 kB / 428.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.1056, allocations: 15.92 kB / 428.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.1057, allocations: 23.81 kB / 428.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1058, allocations: 63.67 kB / 428.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1058, allocations: 0 / 428.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1058, allocations: 0 / 428.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1058, allocations: 0 / 428.3 MB, free: 2.68 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.0005044/0.1063, allocations: 387 kB / 428.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1063, allocations: 12.03 kB / 428.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1064, allocations: 34.69 kB / 428.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.1064, allocations: 8.891 kB / 428.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1067, allocations: 204.2 kB / 428.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-06/0.1067, allocations: 384 / 428.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1067, allocations: 8.375 kB / 428.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.107, allocations: 126.4 kB / 429.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.107, allocations: 3.938 kB / 429.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.107, allocations: 0 / 429.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.107, allocations: 4 kB / 429.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1071, allocations: 39.84 kB / 429.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1076, allocations: 365.9 kB / 429.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1077, allocations: 83.77 kB / 429.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.1078, allocations: 34.62 kB / 429.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1078, allocations: 15.92 kB / 429.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1079, allocations: 30.56 kB / 429.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1079, allocations: 0 / 429.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003396/0.1082, allocations: 105.5 kB / 429.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.1083, allocations: 107.2 kB / 429.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1084, allocations: 156.5 kB / 430 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1084, allocations: 25.7 kB / 430 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.1085, allocations: 88.14 kB / 430.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.1085, allocations: 7.938 kB / 430.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1085, allocations: 17.72 kB / 430.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1087, allocations: 326.8 kB / 430.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.1087, allocations: 19.98 kB / 430.5 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.1088, allocations: 35.42 kB / 430.5 MB, free: 188 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.109, allocations: 67.28 kB / 430.6 MB, free: 108 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.109, allocations: 0 / 430.6 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001802/0.1091, allocations: 85.55 kB / 430.7 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1091, allocations: 4 kB / 430.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1092, allocations: 4 kB / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1092, allocations: 0 / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1093, allocations: 16.17 kB / 430.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.1093, allocations: 7.938 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.1093, allocations: 8 kB / 430.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1094, allocations: 0 / 430.7 MB, free: 15.97 MB / 366.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.0001153/0.1095, allocations: 125.7 kB / 430.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.1096, allocations: 53.64 kB / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.1096, allocations: 7.875 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.1096, allocations: 0 / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1096, allocations: 8.031 kB / 430.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1096, allocations: 0 / 430.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.1099, allocations: 181.6 kB / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1099, allocations: 0 / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.1099, allocations: 8 kB / 431.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1099, allocations: 0 / 431.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1099, allocations: 3.938 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1099, allocations: 4 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1099, allocations: 3.984 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.1102, allocations: 267.5 kB / 431.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.1103, allocations: 92.98 kB / 431.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1103, allocations: 7.938 kB / 431.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.1104, allocations: 0 / 431.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.1104, allocations: 8 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1105, allocations: 4 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.231e-05/0.1105, allocations: 111.2 kB / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1105, allocations: 3.938 kB / 431.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1108, allocations: 4 kB / 431.6 MB, free: 14.99 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.00061/0.1114, allocations: 0.7984 MB / 432.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1116, allocations: 51.84 kB / 432.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1116, allocations: 0 / 432.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/0.1117, allocations: 24.23 kB / 432.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1121, allocations: 22.94 kB / 432.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.1137, allocations: 1.496 MB / 434 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.114, allocations: 0.6924 MB / 434.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.114, allocations: 7.984 kB / 434.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.1141, allocations: 23.42 kB / 434.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1141, allocations: 0 / 434.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1391, allocations: 1.716 MB / 436.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.801, allocations: 19.5 kB / 436.4 MB, free: 10.13 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_trunk_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.571513493079692]