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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 109.6 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 191 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 47.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2736, allocations: 49.43 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003278/0.277, allocations: 1.527 MB / 401.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004638/0.2775, allocations: 152.6 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.2776, allocations: 1.438 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.2777, allocations: 3.938 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2778, allocations: 10.27 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.2781, allocations: 45.44 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2783, allocations: 39.84 kB / 402 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2784, allocations: 19.98 kB / 402 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.2785, allocations: 15.92 kB / 402 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.2785, allocations: 15.92 kB / 402.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.2786, allocations: 4 kB / 402.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.2786, allocations: 4 kB / 402.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.2786, allocations: 11.94 kB / 402.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.2787, allocations: 35.73 kB / 402.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2788, allocations: 50.7 kB / 402.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2788, allocations: 0 / 402.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2788, allocations: 0 / 402.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.2789, allocations: 4 kB / 402.2 MB, free: 6.891 MB / 318.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.0005269/0.2794, allocations: 395 kB / 402.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2794, allocations: 8.031 kB / 402.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.2795, allocations: 34.75 kB / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.2795, allocations: 16.83 kB / 402.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.2798, allocations: 196.2 kB / 402.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.2798, allocations: 384 / 402.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.2798, allocations: 8.359 kB / 402.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.2801, allocations: 126.4 kB / 402.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2802, allocations: 3.938 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.2802, allocations: 3.938 kB / 402.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.2802, allocations: 4 kB / 402.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.2803, allocations: 35.97 kB / 403 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.2808, allocations: 369.8 kB / 403.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.2809, allocations: 87.77 kB / 403.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.281, allocations: 34.62 kB / 403.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.281, allocations: 0 / 403.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2811, allocations: 38.56 kB / 403.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2811, allocations: 4 kB / 403.5 MB, free: 5.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003513/0.2814, allocations: 109.5 kB / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.2815, allocations: 106.8 kB / 403.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2816, allocations: 148.4 kB / 403.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2817, allocations: 29.69 kB / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.2817, allocations: 96.41 kB / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.2818, allocations: 4 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.2818, allocations: 25.66 kB / 404 MB, free: 4.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2819, allocations: 318.8 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.282, allocations: 11.98 kB / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.2821, allocations: 43.41 kB / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2822, allocations: 67.28 kB / 404.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2822, allocations: 0 / 404.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00017/0.2824, allocations: 85.55 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2824, allocations: 4 kB / 404.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2824, allocations: 4 kB / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2824, allocations: 0 / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.2825, allocations: 11.98 kB / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2825, allocations: 0 / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.2826, allocations: 7.984 kB / 404.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2826, allocations: 4 kB / 404.6 MB, free: 4.184 MB / 318.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.0001031/0.2827, allocations: 125.9 kB / 404.7 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/0.2828, allocations: 61.53 kB / 404.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.2828, allocations: 3.875 kB / 404.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.2829, allocations: 7.984 kB / 404.7 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2829, allocations: 0 / 404.7 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2829, allocations: 4 kB / 404.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.2831, allocations: 177.6 kB / 404.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2831, allocations: 4 kB / 404.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.2832, allocations: 7.984 kB / 404.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2832, allocations: 8.031 kB / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2832, allocations: 0 / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2832, allocations: 0 / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2832, allocations: 4 kB / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.2834, allocations: 267.5 kB / 405.2 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.2835, allocations: 93.05 kB / 405.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2835, allocations: 0 / 405.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.932e-05/0.2836, allocations: 4 kB / 405.3 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.2837, allocations: 8.125 kB / 405.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2837, allocations: 3.984 kB / 405.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.2838, allocations: 118.3 kB / 405.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2838, allocations: 0 / 405.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.284, allocations: 7.938 kB / 405.4 MB, free: 3.191 MB / 318.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.0005138/0.2846, allocations: 0.8108 MB / 406.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.2847, allocations: 47.91 kB / 406.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2848, allocations: 0 / 406.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.2848, allocations: 19.98 kB / 406.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.2853, allocations: 25.31 kB / 406.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2867, allocations: 1.501 MB / 407.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.287, allocations: 0.6924 MB / 408.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.287, allocations: 8 kB / 408.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.2871, allocations: 19.42 kB / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2871, allocations: 0 / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.3053, allocations: 1.714 MB / 410.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.712, allocations: 8.547 kB / 410.3 MB, free: 14.33 MB / 334.1 MB (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 8e-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) 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) "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! " 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]