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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 110.3 kB / 17.16 MB, free: 6.082 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.002066/0.002066, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.243/2.243, allocations: 222.9 MB / 241.8 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 47.25 kB / 300.6 MB, free: 6.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1851, allocations: 49.45 MB / 350.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.004708/0.1899, allocations: 0.9559 MB / 351 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.1905, allocations: 151.5 kB / 351.2 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1907, allocations: 0 / 351.2 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.1909, allocations: 15.92 kB / 351.2 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1911, allocations: 7.922 kB / 351.2 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.1915, allocations: 43.91 kB / 351.2 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1916, allocations: 63.78 kB / 351.3 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.1918, allocations: 39.98 kB / 351.3 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.1919, allocations: 31.86 kB / 351.4 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.192, allocations: 35.83 kB / 351.4 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.1921, allocations: 4 kB / 351.4 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.393e-05/0.1921, allocations: 4 kB / 351.4 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1922, allocations: 35.84 kB / 351.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.1923, allocations: 35.75 kB / 351.5 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1925, allocations: 67.83 kB / 351.5 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.1925, allocations: 0 / 351.5 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1925, allocations: 0 / 351.5 MB, free: 3.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1925, allocations: 0 / 351.5 MB, free: 3.32 MB / 286.1 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.0008949/0.1934, allocations: 415.2 kB / 351.9 MB, free: 2.863 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.645e-05/0.1935, allocations: 12.03 kB / 352 MB, free: 2.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.1936, allocations: 8.844 kB / 352 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.1939, allocations: 215.9 kB / 352.2 MB, free: 2.594 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.194, allocations: 12.33 kB / 352.2 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.194, allocations: 8.312 kB / 352.2 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.1946, allocations: 242.2 kB / 352.4 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1947, allocations: 192 / 352.4 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.1947, allocations: 7.938 kB / 352.4 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1947, allocations: 4 kB / 352.4 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1948, allocations: 43.97 kB / 352.5 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.1952, allocations: 193.6 kB / 352.7 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.1956, allocations: 150.9 kB / 352.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1957, allocations: 80.34 kB / 352.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1958, allocations: 4 kB / 352.9 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.1958, allocations: 38.55 kB / 352.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.1958, allocations: 0 / 352.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000493/0.1963, allocations: 181.5 kB / 353.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.1965, allocations: 59.41 kB / 353.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1967, allocations: 169.8 kB / 353.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1967, allocations: 25.7 kB / 353.4 MB, free: 1.293 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.1968, allocations: 96.45 kB / 353.5 MB, free: 1.195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1968, allocations: 4 kB / 353.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.1969, allocations: 45.61 kB / 353.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.1971, allocations: 322.8 kB / 353.8 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.1972, allocations: 27.98 kB / 353.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.1974, allocations: 117.7 kB / 354 MB, free: 0.625 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.1976, allocations: 161.5 kB / 354.1 MB, free: 428 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1976, allocations: 0 / 354.1 MB, free: 428 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002629/0.1979, allocations: 153.2 kB / 354.3 MB, free: 268 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.1979, allocations: 8.5 kB / 354.3 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.1979, allocations: 15.94 kB / 354.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.1979, allocations: 11.92 kB / 354.3 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1981, allocations: 28 kB / 354.3 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.1981, allocations: 11.92 kB / 354.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.1982, allocations: 15.89 kB / 354.4 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1982, allocations: 8 kB / 354.4 MB, free: 168 kB / 286.1 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,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.1984, allocations: 145.6 kB / 354.5 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.1987, allocations: 137.5 kB / 354.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.1987, allocations: 25.12 kB / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1987, allocations: 0 / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1987, allocations: 0 / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1988, allocations: 0 / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.199, allocations: 193.5 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.199, allocations: 3.938 kB / 354.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1991, allocations: 35.86 kB / 354.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1991, allocations: 0 / 354.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1992, allocations: 7.938 kB / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1992, allocations: 4 kB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1992, allocations: 4 kB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1995, allocations: 167.9 kB / 355.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1996, allocations: 97 kB / 355.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1996, allocations: 7.922 kB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.574e-05/0.1997, allocations: 8 kB / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-06/0.1997, allocations: 0 / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1997, allocations: 0 / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1998, allocations: 123.2 kB / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1998, allocations: 0 / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.2001, allocations: 16 kB / 355.3 MB, free: 15.11 MB / 302.1 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 (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.0002344/0.2004, allocations: 115.2 kB / 355.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.2006, allocations: 96.72 kB / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2006, allocations: 0 / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.2006, allocations: 0 / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.2011, allocations: 102.3 kB / 355.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.2017, allocations: 313.7 kB / 355.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.2023, allocations: 0.7202 MB / 356.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.2023, allocations: 15.44 kB / 356.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2023, allocations: 0 / 356.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of Templates: time 0.004282/0.2066, allocations: 1.35 MB / 358 MB, free: 12.35 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches