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.001716/0.001716, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002038/0.002038, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.002167/0.002167, allocations: 71.88 kB / 377.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.323, allocations: 53.42 MB / 431.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003003/0.326, allocations: 1.538 MB / 432.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004529/0.3265, allocations: 147.5 kB / 432.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.3265, allocations: 0 / 432.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3266, allocations: 7.875 kB / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.3267, allocations: 11.92 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.327, allocations: 47.14 kB / 432.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3271, allocations: 47.78 kB / 432.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3272, allocations: 11.98 kB / 432.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.3273, allocations: 15.92 kB / 433 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.3273, allocations: 27.86 kB / 433 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3273, allocations: 0 / 433 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.3273, allocations: 4 kB / 433 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.3274, allocations: 16 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.3274, allocations: 23.8 kB / 433 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3276, allocations: 61.31 kB / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3276, allocations: 0 / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3276, allocations: 0 / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3276, allocations: 0 / 433.1 MB, free: 4.527 MB / 334.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.0005201/0.3281, allocations: 305.9 kB / 433.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3282, allocations: 19.98 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.3282, allocations: 38.69 kB / 433.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.3282, allocations: 8.891 kB / 433.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.3285, allocations: 141.1 kB / 433.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3285, allocations: 8.375 kB / 433.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3285, allocations: 384 / 433.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.3288, allocations: 118.5 kB / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3289, allocations: 7.938 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3289, allocations: 4 kB / 433.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.3289, allocations: 4 kB / 433.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.329, allocations: 39.84 kB / 433.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.3295, allocations: 333 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3296, allocations: 79.78 kB / 434.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.3297, allocations: 38.62 kB / 434.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3297, allocations: 11.92 kB / 434.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.3298, allocations: 30.56 kB / 434.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.3298, allocations: 0 / 434.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003449/0.3301, allocations: 109.5 kB / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/0.3302, allocations: 110.8 kB / 434.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.3303, allocations: 142.1 kB / 434.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3304, allocations: 33.7 kB / 434.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.3304, allocations: 88.12 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.3304, allocations: 11.95 kB / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3305, allocations: 17.72 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3306, allocations: 318.8 kB / 435.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.3307, allocations: 15.98 kB / 435.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.3308, allocations: 39.42 kB / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3309, allocations: 67.28 kB / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3309, allocations: 0 / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001691/0.3311, allocations: 81.55 kB / 435.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3311, allocations: 8 kB / 435.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3311, allocations: 0 / 435.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3311, allocations: 8.062 kB / 435.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.3312, allocations: 8 kB / 435.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.3312, allocations: 11.92 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.3313, allocations: 4 kB / 435.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3313, allocations: 0 / 435.3 MB, free: 2.035 MB / 334.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.0001275/0.3314, allocations: 125.8 kB / 435.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.3315, allocations: 49.66 kB / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.3315, allocations: 19.91 kB / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.3315, allocations: 8.031 kB / 435.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3315, allocations: 0 / 435.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3315, allocations: 3.938 kB / 435.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3318, allocations: 144.7 kB / 435.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3318, allocations: 4 kB / 435.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.3318, allocations: 8 kB / 435.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3318, allocations: 3.938 kB / 435.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3318, allocations: 7.984 kB / 435.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3318, allocations: 0 / 435.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3318, allocations: 0 / 435.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.3321, allocations: 275.6 kB / 435.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3322, allocations: 7.953 kB / 435.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3322, allocations: 7.984 kB / 436 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.3323, allocations: 4 kB / 436 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.3323, allocations: 4 kB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3323, allocations: 0 / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.441e-05/0.3324, allocations: 117.9 kB / 436.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3324, allocations: 0 / 436.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.3327, allocations: 7.938 kB / 436.1 MB, free: 1.172 MB / 334.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.0006581/0.3333, allocations: 0.8062 MB / 436.9 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.3335, allocations: 47.91 kB / 436.9 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3335, allocations: 0 / 436.9 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.3336, allocations: 16.23 kB / 437 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.334, allocations: 35.39 kB / 437 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3357, allocations: 1.485 MB / 438.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.649e-05/0.3357, allocations: 75.33 kB / 438.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.3358, allocations: 16.02 kB / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.3358, allocations: 23.42 kB / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3358, allocations: 0 / 438.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.3677, allocations: 2.252 MB / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.26, allocations: 5.656 kB / 440.8 MB, free: 12.38 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.889541318640113]