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.0008211/0.0008211, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009507/0.0009507, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9272/0.9272, allocations: 177 MB / 204.1 MB, free: 5.75 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.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 1.643e-06/1.643e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.446e-05, allocations: 2.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002126/0.002151, allocations: 1.555 MB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.002513, allocations: 151.4 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.002592, allocations: 4 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.002692, allocations: 7.875 kB / 326.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.002793, allocations: 7.922 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.002986, allocations: 39.91 kB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.003082, allocations: 43.78 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.003195, allocations: 15.92 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.003238, allocations: 19.98 kB / 326.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.00328, allocations: 15.92 kB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.003302, allocations: 0 / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.003313, allocations: 4 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.003365, allocations: 19.92 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.003394, allocations: 15.92 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.003504, allocations: 55.8 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.003508, allocations: 0 / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.00351, allocations: 4 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.003515, allocations: 0 / 326.5 MB, free: 13.93 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.0003828/0.003897, allocations: 302 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.003938, allocations: 15.98 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.003968, allocations: 34.75 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.003992, allocations: 8.891 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.004238, allocations: 137.5 kB / 326.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.00425, allocations: 8.312 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.00426, allocations: 8.375 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.004506, allocations: 122.4 kB / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.004513, allocations: 192 / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.004521, allocations: 384 / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.004546, allocations: 12.12 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.00461, allocations: 35.91 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.004915, allocations: 333 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.005001, allocations: 75.78 kB / 327.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.005048, allocations: 34.62 kB / 327.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.00506, allocations: 7.938 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.005082, allocations: 42.48 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.005083, allocations: 3.938 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.005299, allocations: 109.7 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.00535, allocations: 102.8 kB / 327.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.005438, allocations: 152.7 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005448, allocations: 25.7 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.005492, allocations: 92.12 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.005502, allocations: 3.953 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.005528, allocations: 17.72 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.005599, allocations: 314.8 kB / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.005637, allocations: 20.11 kB / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.005667, allocations: 29.7 kB / 328.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.005726, allocations: 41.69 kB / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005728, allocations: 0 / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.097e-05/0.005809, allocations: 77.48 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005822, allocations: 8.125 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.005826, allocations: 0 / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.005838, allocations: 0 / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.005894, allocations: 11.98 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005898, allocations: 0 / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.005919, allocations: 7.938 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.005923, allocations: 3.938 kB / 328.6 MB, free: 11.51 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[2],sample1.u[1]) * 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.941e-05/0.006013, allocations: 121.8 kB / 328.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.006065, allocations: 57.52 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.006087, allocations: 19.95 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.006102, allocations: 4 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.006106, allocations: 0 / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.006111, allocations: 7.984 kB / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.006254, allocations: 140.7 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.006257, allocations: 0 / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.006283, allocations: 15.92 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006284, allocations: 0 / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.00629, allocations: 0 / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.006292, allocations: 0 / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.006294, allocations: 4 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.006445, allocations: 263.5 kB / 329.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.006475, allocations: 23.88 kB / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.006486, allocations: 0 / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.006541, allocations: 4 kB / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.006573, allocations: 3.984 kB / 329.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.006577, allocations: 4 kB / 329.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.006624, allocations: 111.2 kB / 329.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006624, allocations: 0 / 329.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.006786, allocations: 15.94 kB / 329.4 MB, free: 10.65 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[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.0003449/0.007131, allocations: 0.7906 MB / 330.2 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.007241, allocations: 39.97 kB / 330.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007242, allocations: 0 / 330.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.007273, allocations: 24.11 kB / 330.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.00757, allocations: 26.39 kB / 330.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/0.008483, allocations: 1.452 MB / 331.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.008544, allocations: 83.52 kB / 331.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.102e-05/0.008575, allocations: 15.98 kB / 331.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.008615, allocations: 16.5 kB / 331.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.008616, allocations: 0 / 331.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.02216, allocations: 2.38 MB / 334.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.798, allocations: 12 kB / 334.2 MB, free: 5.789 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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: 8.629626404494047]