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.00128/0.00128, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001449/0.001449, allocations: 215.4 kB / 23.72 MB, free: 4.531 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.001476/0.001476, allocations: 43.92 kB / 377.7 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2852, allocations: 53.37 MB / 431.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002924/0.2881, allocations: 1.55 MB / 432.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005101/0.2886, allocations: 143.5 kB / 432.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.366e-05/0.2887, allocations: 0 / 432.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.524e-05/0.2888, allocations: 3.938 kB / 432.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.483e-05/0.2889, allocations: 23.84 kB / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.2891, allocations: 27.92 kB / 432.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2892, allocations: 51.83 kB / 432.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.2893, allocations: 8 kB / 432.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.2893, allocations: 19.92 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.2894, allocations: 27.8 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2894, allocations: 0 / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.2894, allocations: 4 kB / 432.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.2895, allocations: 15.94 kB / 432.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2896, allocations: 27.8 kB / 433 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2897, allocations: 53.44 kB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2898, allocations: 0 / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2898, allocations: 0 / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2898, allocations: 0 / 433 MB, free: 4.715 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.000496/0.2903, allocations: 317.9 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2903, allocations: 12.03 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.2903, allocations: 30.75 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.2904, allocations: 8.891 kB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.2906, allocations: 146.3 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2906, allocations: 4.375 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.2906, allocations: 384 / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.2909, allocations: 126.5 kB / 433.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2909, allocations: 3.938 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2909, allocations: 0 / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.291, allocations: 7.984 kB / 433.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.2911, allocations: 35.91 kB / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.2915, allocations: 337 kB / 434 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2917, allocations: 79.77 kB / 434.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.2917, allocations: 38.62 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2918, allocations: 4 kB / 434.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2918, allocations: 34.5 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2918, allocations: 0 / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003305/0.2921, allocations: 113.5 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.2922, allocations: 107.2 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2923, allocations: 144.6 kB / 434.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2923, allocations: 29.7 kB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.2924, allocations: 92.08 kB / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.2924, allocations: 3.953 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.2925, allocations: 21.72 kB / 434.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2926, allocations: 318.8 kB / 435 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.2927, allocations: 15.98 kB / 435 MB, free: 2.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.2927, allocations: 43.36 kB / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.2929, allocations: 67.22 kB / 435.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2929, allocations: 4 kB / 435.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001681/0.293, allocations: 81.55 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.293, allocations: 8 kB / 435.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2931, allocations: 128 / 435.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2931, allocations: 4 kB / 435.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.2931, allocations: 11.98 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.2932, allocations: 4 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.2932, allocations: 8 kB / 435.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.2932, allocations: 0 / 435.2 MB, free: 2.223 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.0001184/0.2933, allocations: 133.7 kB / 435.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.2934, allocations: 49.64 kB / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.2934, allocations: 15.92 kB / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.2934, allocations: 8.031 kB / 435.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2935, allocations: 0 / 435.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2935, allocations: 0 / 435.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.2937, allocations: 144.8 kB / 435.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2937, allocations: 4 kB / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.2937, allocations: 11.97 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2937, allocations: 0 / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2937, allocations: 4 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2937, allocations: 0 / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2937, allocations: 0 / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.294, allocations: 275.5 kB / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.294, allocations: 15.94 kB / 435.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2941, allocations: 4 kB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.2942, allocations: 0 / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.2942, allocations: 11.92 kB / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.2942, allocations: 3.984 kB / 435.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.2943, allocations: 107.3 kB / 436 MB, free: 1.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2943, allocations: 0 / 436 MB, free: 1.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.2945, allocations: 7.938 kB / 436 MB, free: 1.359 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.0006036/0.2951, allocations: 0.8101 MB / 436.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.2953, allocations: 43.91 kB / 436.9 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2953, allocations: 0 / 436.9 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.789e-05/0.2954, allocations: 16.3 kB / 436.9 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2958, allocations: 33.89 kB / 436.9 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.2974, allocations: 1.485 MB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.2975, allocations: 79.31 kB / 438.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.2975, allocations: 8.094 kB / 438.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.2976, allocations: 19.42 kB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2976, allocations: 0 / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.3277, allocations: 2.3 MB / 440.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.01, allocations: 7.109 kB / 440.8 MB, free: 12.55 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.574836234009126]