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.0008086/0.0008086, allocations: 79.69 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.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.0007893/0.0007893, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9244/0.9244, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 3.186e-06/3.186e-06, allocations: 4 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.245e-05, allocations: 4.812 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002109/0.002141, allocations: 1.547 MB / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000312/0.002453, allocations: 155.4 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.002527, allocations: 3.938 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.619e-05/0.002613, allocations: 3.938 kB / 326.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.002711, allocations: 23.84 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.002911, allocations: 31.91 kB / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.003173, allocations: 43.84 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.003282, allocations: 11.94 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.003335, allocations: 27.91 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.003385, allocations: 11.92 kB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.003413, allocations: 4 kB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.003421, allocations: 0 / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.003483, allocations: 19.92 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.00351, allocations: 8 kB / 326.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003625, allocations: 59.73 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003628, allocations: 4 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.003629, allocations: 0 / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.003634, allocations: 0 / 326.5 MB, free: 13.98 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.0006791/0.004313, allocations: 306 kB / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.004353, allocations: 8.031 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.004383, allocations: 34.75 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.004407, allocations: 12.83 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.004615, allocations: 141.6 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.004624, allocations: 4.375 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.004633, allocations: 4.375 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.004858, allocations: 122.5 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.004865, allocations: 192 / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.004874, allocations: 4.375 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.004899, allocations: 4.125 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.004965, allocations: 35.91 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.005266, allocations: 333 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.005348, allocations: 87.66 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.00539, allocations: 34.62 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.0054, allocations: 7.922 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.005421, allocations: 42.5 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.005421, allocations: 0 / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002037/0.005625, allocations: 105.7 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.005674, allocations: 114.8 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.005755, allocations: 145.6 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.005763, allocations: 25.7 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.005802, allocations: 88.12 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.005811, allocations: 11.89 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.005836, allocations: 17.72 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.005916, allocations: 318.8 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.005946, allocations: 12.19 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.005977, allocations: 25.7 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/0.006034, allocations: 37.69 kB / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006036, allocations: 0 / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.862e-05/0.006114, allocations: 77.58 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.006125, allocations: 8.031 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.006129, allocations: 0 / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.006142, allocations: 7.984 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.006193, allocations: 4 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.006197, allocations: 0 / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.006219, allocations: 15.92 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.006224, allocations: 0 / 328.7 MB, free: 11.56 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 7.05e-05/0.006294, allocations: 117.8 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.006345, allocations: 57.52 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.006366, allocations: 19.95 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.006376, allocations: 3.984 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.006382, allocations: 4 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006385, allocations: 0 / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.006524, allocations: 140.8 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.006526, allocations: 3.938 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.006548, allocations: 15.92 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.00655, allocations: 0 / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.006557, allocations: 0 / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006557, allocations: 4 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006559, allocations: 4 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.006703, allocations: 267.5 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.006731, allocations: 15.88 kB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.006741, allocations: 0 / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-05/0.006802, allocations: 7.984 kB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.006837, allocations: 11.94 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.00684, allocations: 0 / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.126e-05/0.006892, allocations: 113.8 kB / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006892, allocations: 0 / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.007062, allocations: 8 kB / 329.4 MB, free: 10.71 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.0006162/0.007678, allocations: 0.7984 MB / 330.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.007791, allocations: 35.97 kB / 330.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007792, allocations: 4 kB / 330.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.007824, allocations: 20.05 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.008112, allocations: 28 kB / 330.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.009013, allocations: 1.448 MB / 331.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.009074, allocations: 87.58 kB / 331.9 MB, free: 8.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.698e-05/0.009101, allocations: 11.98 kB / 331.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.009139, allocations: 20.48 kB / 331.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.00914, allocations: 0 / 331.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.02688, allocations: 2.38 MB / 334.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/6.915, allocations: 6.656 kB / 334.3 MB, free: 5.871 MB / 298.7 MB " [Timeout remaining time 653] (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/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_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: 8.736031412146986]