Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 76.06 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9227/0.9227, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.447e-05, allocations: 6.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002617/0.002642, allocations: 1.527 MB / 320 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.003015, allocations: 151.4 kB / 320.1 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.003093, allocations: 0 / 320.1 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.812e-05/0.003191, allocations: 15.8 kB / 320.1 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.998e-05/0.003291, allocations: 7.938 kB / 320.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.003505, allocations: 39.83 kB / 320.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.003621, allocations: 47.84 kB / 320.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003733, allocations: 19.91 kB / 320.2 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.00378, allocations: 15.98 kB / 320.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.003828, allocations: 15.92 kB / 320.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.003853, allocations: 4 kB / 320.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.003862, allocations: 4 kB / 320.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.003914, allocations: 15.92 kB / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.003944, allocations: 15.92 kB / 320.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.004052, allocations: 47.81 kB / 320.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004056, allocations: 3.984 kB / 320.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.004057, allocations: 4 kB / 320.4 MB, free: 4.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.004064, allocations: 4 kB / 320.4 MB, free: 4.418 MB / 282.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.000403/0.004467, allocations: 298.1 kB / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.004509, allocations: 8.922 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.004551, allocations: 42.73 kB / 320.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.004576, allocations: 12.84 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.004749, allocations: 145.5 kB / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.004757, allocations: 384 / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.004765, allocations: 4.375 kB / 320.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.004985, allocations: 122.5 kB / 321 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.004992, allocations: 4.188 kB / 321 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.005001, allocations: 4.359 kB / 321 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.005023, allocations: 4.125 kB / 321 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/0.005088, allocations: 39.91 kB / 321 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.005592, allocations: 325.1 kB / 321.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.005681, allocations: 87.77 kB / 321.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.005719, allocations: 34.62 kB / 321.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.005728, allocations: 3.938 kB / 321.5 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.005747, allocations: 38.5 kB / 321.5 MB, free: 3.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.005748, allocations: 0 / 321.5 MB, free: 3.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002033/0.005951, allocations: 109.8 kB / 321.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.005997, allocations: 106.8 kB / 321.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.006075, allocations: 145.8 kB / 321.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.006084, allocations: 25.7 kB / 321.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.006123, allocations: 96.06 kB / 322 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.006132, allocations: 4 kB / 322 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.006158, allocations: 17.67 kB / 322 MB, free: 2.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.006226, allocations: 318.8 kB / 322.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.006256, allocations: 15.92 kB / 322.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.006286, allocations: 33.77 kB / 322.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.006342, allocations: 37.69 kB / 322.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006343, allocations: 0 / 322.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.758e-05/0.006421, allocations: 69.55 kB / 322.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.006432, allocations: 4.125 kB / 322.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006437, allocations: 8 kB / 322.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006449, allocations: 3.938 kB / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.006504, allocations: 4 kB / 322.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.006508, allocations: 0 / 322.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.006529, allocations: 15.88 kB / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.006534, allocations: 4 kB / 322.5 MB, free: 2.004 MB / 282.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 7.062e-05/0.006604, allocations: 117.8 kB / 322.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.006655, allocations: 57.53 kB / 322.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.006675, allocations: 15.98 kB / 322.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.006689, allocations: 4 kB / 322.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.006693, allocations: 0 / 322.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.006697, allocations: 3.984 kB / 322.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.00683, allocations: 140.7 kB / 322.8 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.006834, allocations: 4 kB / 322.8 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.006857, allocations: 11.94 kB / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006859, allocations: 4 kB / 322.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.006866, allocations: 4 kB / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006867, allocations: 0 / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006869, allocations: 3.984 kB / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.007001, allocations: 267.5 kB / 323.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.007029, allocations: 15.89 kB / 323.1 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.00704, allocations: 4 kB / 323.1 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.007093, allocations: 7.984 kB / 323.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.007122, allocations: 0 / 323.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.007125, allocations: 0 / 323.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.615e-05/0.007171, allocations: 114.2 kB / 323.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007171, allocations: 0 / 323.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.00733, allocations: 4 kB / 323.3 MB, free: 1.16 MB / 282.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.0003083/0.007638, allocations: 0.8062 MB / 324.1 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.856e-05/0.007737, allocations: 35.97 kB / 324.1 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007739, allocations: 0 / 324.1 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.007769, allocations: 24.11 kB / 324.1 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.00805, allocations: 27.95 kB / 324.2 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.008922, allocations: 1.45 MB / 325.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.853e-05/0.00898, allocations: 79.52 kB / 325.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.009005, allocations: 15.92 kB / 325.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.00904, allocations: 12.5 kB / 325.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009041, allocations: 0 / 325.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.02598, allocations: 2.386 MB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/6.975, allocations: 7.188 kB / 328.1 MB, free: 12.33 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_4.0.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: 8.823042074218392]