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.001322/0.001322, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001514/0.001514, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.00148/0.00148, allocations: 47.92 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2975, allocations: 53.37 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003123/0.3007, allocations: 1.559 MB / 432.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.3011, allocations: 143.5 kB / 432.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.3012, allocations: 4 kB / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.3013, allocations: 15.86 kB / 432.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.531e-05/0.3014, allocations: 3.938 kB / 432.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.3016, allocations: 43.89 kB / 432.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.3018, allocations: 43.8 kB / 432.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3019, allocations: 11.98 kB / 433 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.3019, allocations: 15.94 kB / 433 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.302, allocations: 23.84 kB / 433 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.302, allocations: 4 kB / 433 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.302, allocations: 0 / 433 MB, free: 5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.3021, allocations: 23.92 kB / 433 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.3021, allocations: 27.81 kB / 433 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3023, allocations: 60.09 kB / 433.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3023, allocations: 0 / 433.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3023, allocations: 3.938 kB / 433.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3023, allocations: 0 / 433.1 MB, free: 4.891 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.0006412/0.3029, allocations: 302 kB / 433.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.303, allocations: 16.02 kB / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.303, allocations: 38.69 kB / 433.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.3031, allocations: 12.89 kB / 433.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.3034, allocations: 138.4 kB / 433.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3034, allocations: 4.375 kB / 433.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.3034, allocations: 384 / 433.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.3037, allocations: 130.4 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3038, allocations: 3.938 kB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3038, allocations: 4 kB / 433.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.3038, allocations: 4 kB / 433.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3039, allocations: 35.91 kB / 433.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.3044, allocations: 337 kB / 434.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.3045, allocations: 79.77 kB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.3046, allocations: 34.62 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3046, allocations: 11.94 kB / 434.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3047, allocations: 30.56 kB / 434.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.3047, allocations: 3.938 kB / 434.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003619/0.305, allocations: 113.9 kB / 434.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.3051, allocations: 110.8 kB / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3053, allocations: 148.3 kB / 434.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3053, allocations: 25.7 kB / 434.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.3054, allocations: 92.14 kB / 434.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.3054, allocations: 3.953 kB / 434.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3054, allocations: 17.72 kB / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.3056, allocations: 318.8 kB / 435.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.3057, allocations: 19.98 kB / 435.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.3058, allocations: 39.42 kB / 435.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.3059, allocations: 63.28 kB / 435.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3059, allocations: 4 kB / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001795/0.3061, allocations: 81.55 kB / 435.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3061, allocations: 8 kB / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3061, allocations: 0 / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3061, allocations: 0 / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.3062, allocations: 16.11 kB / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3062, allocations: 7.938 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.3063, allocations: 7.938 kB / 435.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3063, allocations: 0 / 435.3 MB, free: 2.398 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.0001398/0.3064, allocations: 125.8 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.3065, allocations: 53.64 kB / 435.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.3066, allocations: 15.92 kB / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3066, allocations: 0 / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3066, allocations: 8.031 kB / 435.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3066, allocations: 0 / 435.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3068, allocations: 152.6 kB / 435.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3068, allocations: 0 / 435.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.3069, allocations: 11.94 kB / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3069, allocations: 0 / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3069, allocations: 4 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3069, allocations: 7.938 kB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3069, allocations: 0 / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.3072, allocations: 271.5 kB / 436 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3072, allocations: 15.95 kB / 436 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3073, allocations: 0 / 436 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3074, allocations: 7.984 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3074, allocations: 0 / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3074, allocations: 8 kB / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3075, allocations: 113.6 kB / 436.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 0 / 436.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3078, allocations: 11.94 kB / 436.1 MB, free: 1.527 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.0006164/0.3084, allocations: 0.7984 MB / 436.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3086, allocations: 43.91 kB / 437 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3086, allocations: 4 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.3086, allocations: 24.23 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3091, allocations: 20.02 kB / 437 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.3109, allocations: 1.489 MB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3113, allocations: 0.6925 MB / 439.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.3113, allocations: 7.984 kB / 439.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.3114, allocations: 15.44 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3114, allocations: 0 / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.3407, allocations: 1.843 MB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.28, allocations: 11.39 kB / 441.1 MB, free: 12.56 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.863545842999883]