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.001687/0.001687, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001327/0.001327, allocations: 182.6 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.435/1.435, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001536/0.001536, allocations: 43.94 kB / 370.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2519, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002802/0.2547, allocations: 1.571 MB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.255, allocations: 139.5 kB / 424.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.2551, allocations: 3.938 kB / 424.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.674e-05/0.2552, allocations: 7.938 kB / 424.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.2553, allocations: 7.922 kB / 424.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2555, allocations: 39.84 kB / 424.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2556, allocations: 39.91 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2557, allocations: 8 kB / 424.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.2557, allocations: 27.84 kB / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.2558, allocations: 15.92 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2558, allocations: 8 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.2558, allocations: 0 / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.2559, allocations: 19.94 kB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.2559, allocations: 31.73 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.256, allocations: 55.12 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.256, allocations: 0 / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.256, allocations: 0 / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2561, allocations: 0 / 424.6 MB, free: 12.62 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.0004655/0.2565, allocations: 314.9 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2566, allocations: 16.03 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.2566, allocations: 30.75 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.2566, allocations: 12.84 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2569, allocations: 142.3 kB / 425.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.2569, allocations: 8.312 kB / 425.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.2569, allocations: 384 / 425.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2572, allocations: 126.5 kB / 425.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2572, allocations: 3.938 kB / 425.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.2572, allocations: 0 / 425.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.2572, allocations: 4 kB / 425.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.2573, allocations: 31.97 kB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.2578, allocations: 344.9 kB / 425.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2579, allocations: 79.78 kB / 425.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.258, allocations: 34.62 kB / 425.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.258, allocations: 4 kB / 425.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2581, allocations: 34.56 kB / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2581, allocations: 0 / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003445/0.2584, allocations: 113.7 kB / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.2585, allocations: 106.8 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2586, allocations: 148.4 kB / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2586, allocations: 25.7 kB / 426.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.2587, allocations: 96.03 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.2587, allocations: 3.984 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.2588, allocations: 21.86 kB / 426.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2589, allocations: 322.8 kB / 426.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.259, allocations: 15.97 kB / 426.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.259, allocations: 39.42 kB / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.2592, allocations: 67.28 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2592, allocations: 4 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001723/0.2593, allocations: 77.55 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.2594, allocations: 8 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2594, allocations: 8.109 kB / 426.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2594, allocations: 0 / 426.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.2595, allocations: 8 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2595, allocations: 4 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.2595, allocations: 8.078 kB / 426.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2595, allocations: 0 / 426.8 MB, free: 10.13 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.0001064/0.2596, allocations: 125.8 kB / 426.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.2597, allocations: 69.52 kB / 427 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.2598, allocations: 11.95 kB / 427 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.2598, allocations: 0 / 427 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2598, allocations: 4 kB / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2598, allocations: 0 / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.26, allocations: 148.7 kB / 427.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.26, allocations: 4 kB / 427.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.2601, allocations: 11.98 kB / 427.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2601, allocations: 0 / 427.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2601, allocations: 4 kB / 427.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2601, allocations: 0 / 427.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2601, allocations: 4.031 kB / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.2604, allocations: 263.5 kB / 427.4 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.2604, allocations: 19.94 kB / 427.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2604, allocations: 0 / 427.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2605, allocations: 8 kB / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.2606, allocations: 3.984 kB / 427.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2606, allocations: 7.938 kB / 427.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.971e-05/0.2606, allocations: 107.3 kB / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2606, allocations: 0 / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000315/0.261, allocations: 11.94 kB / 427.6 MB, free: 9.262 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.000578/0.2615, allocations: 0.8061 MB / 428.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.2617, allocations: 40.09 kB / 428.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2617, allocations: 8.062 kB / 428.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.2618, allocations: 15.98 kB / 428.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.2622, allocations: 20.02 kB / 428.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2638, allocations: 1.498 MB / 430 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.2641, allocations: 0.7002 MB / 430.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.497e-05/0.2642, allocations: 4 kB / 430.7 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.2642, allocations: 19.42 kB / 430.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2642, allocations: 0 / 430.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.2917, allocations: 1.824 MB / 432.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.11, allocations: 8.625 kB / 432.5 MB, free: 4.297 MB / 334.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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: 13.646789599999465]