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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 112.6 kB / 17.74 MB, free: 5.227 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.001192/0.001192, allocations: 184.5 kB / 18.67 MB, free: 4.309 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.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 47.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2833, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002926/0.2863, allocations: 1.525 MB / 402.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004033/0.2867, allocations: 147.4 kB / 403.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.2868, allocations: 0 / 403.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.2869, allocations: 7.922 kB / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.85e-05/0.287, allocations: 11.88 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2873, allocations: 43.89 kB / 403.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2874, allocations: 39.86 kB / 403.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2875, allocations: 19.97 kB / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.2876, allocations: 11.94 kB / 403.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.2876, allocations: 23.8 kB / 403.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.2877, allocations: 4 kB / 403.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.2877, allocations: 8 kB / 403.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.2877, allocations: 15.92 kB / 403.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.2878, allocations: 23.81 kB / 403.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2879, allocations: 63.67 kB / 403.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2879, allocations: 0 / 403.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2879, allocations: 0 / 403.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2879, allocations: 0 / 403.3 MB, free: 6.93 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.0004817/0.2884, allocations: 380.3 kB / 403.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2885, allocations: 8.031 kB / 403.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.2885, allocations: 16.84 kB / 403.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2888, allocations: 200 kB / 403.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-06/0.2888, allocations: 384 / 403.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2888, allocations: 8.375 kB / 403.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.2891, allocations: 118.5 kB / 404.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2892, allocations: 4.125 kB / 404.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2892, allocations: 7.938 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.2892, allocations: 0 / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.2893, allocations: 35.97 kB / 404.1 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.2898, allocations: 369.9 kB / 404.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.29, allocations: 83.72 kB / 404.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.2901, allocations: 38.62 kB / 404.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.2901, allocations: 11.94 kB / 404.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2901, allocations: 38.55 kB / 404.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2901, allocations: 0 / 404.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000352/0.2905, allocations: 105.8 kB / 404.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.2905, allocations: 110.8 kB / 404.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2907, allocations: 149.7 kB / 405 MB, free: 5.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2907, allocations: 25.7 kB / 405 MB, free: 5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.2908, allocations: 92.12 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.2908, allocations: 4 kB / 405.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.2908, allocations: 21.62 kB / 405.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.291, allocations: 314.8 kB / 405.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.291, allocations: 23.97 kB / 405.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.2911, allocations: 43.41 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.2913, allocations: 59.34 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2913, allocations: 11.88 kB / 405.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000171/0.2915, allocations: 77.55 kB / 405.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2915, allocations: 11.98 kB / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2915, allocations: 0 / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2915, allocations: 0 / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.2916, allocations: 12.12 kB / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2916, allocations: 4 kB / 405.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.2917, allocations: 15.83 kB / 405.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2917, allocations: 0 / 405.7 MB, free: 4.273 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.0001203/0.2918, allocations: 125.7 kB / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.2919, allocations: 57.53 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.292, allocations: 15.86 kB / 405.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.292, allocations: 4.031 kB / 405.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.292, allocations: 4 kB / 405.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.292, allocations: 0 / 405.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.2923, allocations: 173.6 kB / 406.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2923, allocations: 0 / 406.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.2923, allocations: 11.98 kB / 406.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2923, allocations: 3.938 kB / 406.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2923, allocations: 0 / 406.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2924, allocations: 4 kB / 406.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2924, allocations: 0 / 406.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.2926, allocations: 271.4 kB / 406.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.2927, allocations: 89 kB / 406.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2927, allocations: 4 kB / 406.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2928, allocations: 7.984 kB / 406.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.2929, allocations: 8 kB / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2929, allocations: 0 / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.293, allocations: 114 kB / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.293, allocations: 0 / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.2933, allocations: 4 kB / 406.6 MB, free: 3.289 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.0001216/0.2934, allocations: 99.25 kB / 406.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2936, allocations: 52.03 kB / 406.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2936, allocations: 0 / 406.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.532e-05/0.2937, allocations: 15.98 kB / 406.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2942, allocations: 37.38 kB / 406.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.2946, allocations: 208.9 kB / 407 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2949, allocations: 0.6966 MB / 407.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.2949, allocations: 15.38 kB / 407.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2949, allocations: 0 / 407.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of Templates: time 0.002709/0.2976, allocations: 0.8285 MB / 408.5 MB, free: 1.281 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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) Reference file matches