Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 179.8 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.3 MB / 241 MB, free: 10.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007808/0.0007808, allocations: 101 kB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.000247, allocations: 11.94 kB / 351.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1889, allocations: 50.41 MB / 402.2 MB, free: 32.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.0009465/0.1899, allocations: 0.5967 MB / 402.8 MB, free: 31.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003483/0.1903, allocations: 155.5 kB / 403 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.1904, allocations: 0 / 403 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.1905, allocations: 8.953 kB / 403 MB, free: 31.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1906, allocations: 11.94 kB / 403 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1909, allocations: 43.02 kB / 403 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.205e-05/0.191, allocations: 58.56 kB / 403.1 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1911, allocations: 37.42 kB / 403.1 MB, free: 31.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.1911, allocations: 19.88 kB / 403.1 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.1912, allocations: 23.84 kB / 403.2 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1912, allocations: 5.062 kB / 403.2 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.1912, allocations: 0 / 403.2 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.1913, allocations: 27.91 kB / 403.2 MB, free: 31.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.1913, allocations: 42.17 kB / 403.2 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.1914, allocations: 60.64 kB / 403.3 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1914, allocations: 0 / 403.3 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1914, allocations: 0.625 kB / 403.3 MB, free: 31.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1914, allocations: 0 / 403.3 MB, free: 31.46 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003632/0.1918, allocations: 405.3 kB / 403.7 MB, free: 31.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1918, allocations: 8.031 kB / 403.7 MB, free: 31.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.1919, allocations: 17.55 kB / 403.7 MB, free: 30.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.192, allocations: 207.8 kB / 403.9 MB, free: 30.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1921, allocations: 4 kB / 403.9 MB, free: 30.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1921, allocations: 8 kB / 403.9 MB, free: 30.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.1924, allocations: 247.1 kB / 404.2 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1924, allocations: 0 / 404.2 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1925, allocations: 4 kB / 404.2 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1925, allocations: 4 kB / 404.2 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.1925, allocations: 43.97 kB / 404.2 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.1927, allocations: 189.6 kB / 404.4 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1929, allocations: 142.9 kB / 404.5 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.193, allocations: 96.16 kB / 404.6 MB, free: 29.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.193, allocations: 4 kB / 404.6 MB, free: 29.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.193, allocations: 38.5 kB / 404.7 MB, free: 29.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.193, allocations: 0 / 404.7 MB, free: 29.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002381/0.1932, allocations: 173.4 kB / 404.8 MB, free: 29.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1933, allocations: 59.41 kB / 404.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.1934, allocations: 167.2 kB / 405.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.1934, allocations: 25.7 kB / 405.1 MB, free: 29.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.1934, allocations: 100.4 kB / 405.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.1935, allocations: 4 kB / 405.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.1935, allocations: 4 kB / 405.2 MB, free: 29.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.1935, allocations: 330.8 kB / 405.5 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.1936, allocations: 19.98 kB / 405.5 MB, free: 29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.1936, allocations: 136 kB / 405.7 MB, free: 28.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.1937, allocations: 43.92 kB / 405.7 MB, free: 28.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1937, allocations: 0 / 405.7 MB, free: 28.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001613/0.1938, allocations: 161.3 kB / 405.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1939, allocations: 4 kB / 405.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1939, allocations: 4 kB / 405.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1939, allocations: 8 kB / 405.9 MB, free: 28.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.194, allocations: 35.92 kB / 405.9 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.194, allocations: 4 kB / 405.9 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.1941, allocations: 8 kB / 405.9 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1941, allocations: 12 kB / 405.9 MB, free: 28.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/0.1942, allocations: 150 kB / 406.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.1943, allocations: 133.4 kB / 406.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.1944, allocations: 21.19 kB / 406.2 MB, free: 28.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1944, allocations: 4 kB / 406.2 MB, free: 28.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1944, allocations: 3.984 kB / 406.3 MB, free: 28.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1944, allocations: 3.984 kB / 406.3 MB, free: 28.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.884e-05/0.1945, allocations: 201.4 kB / 406.5 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1945, allocations: 4 kB / 406.5 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1946, allocations: 23.98 kB / 406.5 MB, free: 27.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1946, allocations: 4 kB / 406.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.1946, allocations: 4 kB / 406.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1946, allocations: 0 / 406.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1946, allocations: 0 / 406.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.1948, allocations: 168.4 kB / 406.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.1948, allocations: 108.9 kB / 406.8 MB, free: 27.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1948, allocations: 0 / 406.8 MB, free: 27.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.1949, allocations: 12 kB / 406.8 MB, free: 27.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-06/0.1949, allocations: 3.938 kB / 406.8 MB, free: 27.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1949, allocations: 4 kB / 406.8 MB, free: 27.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.1949, allocations: 119.2 kB / 406.9 MB, free: 27.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.195, allocations: 0 / 406.9 MB, free: 27.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.1952, allocations: 16 kB / 406.9 MB, free: 27.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.467e-05/0.1953, allocations: 107.2 kB / 407 MB, free: 27.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1954, allocations: 99.77 kB / 407.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1954, allocations: 0 / 407.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.1954, allocations: 0 / 407.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1958, allocations: 99.8 kB / 407.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.1961, allocations: 294.8 kB / 407.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.1962, allocations: 0.7242 MB / 408.2 MB, free: 26.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.1962, allocations: 15.44 kB / 408.2 MB, free: 26.08 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1962, allocations: 4 kB / 408.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of Templates: time 0.002401/0.1987, allocations: 1.327 MB / 409.6 MB, free: 24.75 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches