Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.002823/0.002823, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.488/2.488, allocations: 222.9 MB / 241.8 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001816, allocations: 43.73 kB / 300.6 MB, free: 6.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1856, allocations: 49.45 MB / 350.1 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.004347/0.19, allocations: 0.9722 MB / 351 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005985/0.1907, allocations: 131.5 kB / 351.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1908, allocations: 4 kB / 351.2 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.191, allocations: 7.922 kB / 351.2 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1912, allocations: 11.92 kB / 351.2 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.1915, allocations: 35.91 kB / 351.2 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1917, allocations: 63.78 kB / 351.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1919, allocations: 44.19 kB / 351.3 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.192, allocations: 23.92 kB / 351.3 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.192, allocations: 31.78 kB / 351.4 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1921, allocations: 4 kB / 351.4 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.1921, allocations: 4 kB / 351.4 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1922, allocations: 23.92 kB / 351.4 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.1923, allocations: 35.73 kB / 351.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1925, allocations: 51.91 kB / 351.5 MB, free: 3.371 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1925, allocations: 4 kB / 351.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1925, allocations: 0 / 351.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1925, allocations: 4 kB / 351.5 MB, free: 3.363 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.0006193/0.1931, allocations: 395.4 kB / 351.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.1932, allocations: 8.031 kB / 351.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.1933, allocations: 12.84 kB / 351.9 MB, free: 2.906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.1936, allocations: 210.9 kB / 352.1 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1936, allocations: 12.33 kB / 352.1 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1937, allocations: 4.375 kB / 352.1 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.1943, allocations: 222.1 kB / 352.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1943, allocations: 4.125 kB / 352.4 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1943, allocations: 3.938 kB / 352.4 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1943, allocations: 0 / 352.4 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1945, allocations: 35.98 kB / 352.4 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.1947, allocations: 197.5 kB / 352.6 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.195, allocations: 126.6 kB / 352.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.1952, allocations: 81.19 kB / 352.8 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1953, allocations: 4 kB / 352.8 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1953, allocations: 34.56 kB / 352.8 MB, free: 1.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.1953, allocations: 0 / 352.8 MB, free: 1.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004576/0.1958, allocations: 161.4 kB / 353 MB, free: 1.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.1959, allocations: 59.41 kB / 353 MB, free: 1.641 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1961, allocations: 141.7 kB / 353.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1961, allocations: 29.7 kB / 353.2 MB, free: 1.457 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1962, allocations: 88.47 kB / 353.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.1962, allocations: 11.98 kB / 353.3 MB, free: 1.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.1963, allocations: 41.62 kB / 353.3 MB, free: 1.309 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1965, allocations: 322.8 kB / 353.7 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.1965, allocations: 15.98 kB / 353.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1967, allocations: 117 kB / 353.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.1969, allocations: 161.5 kB / 353.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.197, allocations: 0 / 353.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000342/0.1973, allocations: 149.5 kB / 354.1 MB, free: 460 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.1974, allocations: 15.06 kB / 354.1 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.1974, allocations: 4 kB / 354.1 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.1974, allocations: 7.984 kB / 354.1 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.306e-05/0.1975, allocations: 11.94 kB / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.1975, allocations: 11.88 kB / 354.1 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.1976, allocations: 11.91 kB / 354.2 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1977, allocations: 8 kB / 354.2 MB, free: 392 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.000213/0.1979, allocations: 153.9 kB / 354.3 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.1981, allocations: 121.5 kB / 354.4 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.141e-05/0.1982, allocations: 17.19 kB / 354.4 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1982, allocations: 0 / 354.4 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1982, allocations: 0 / 354.4 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1982, allocations: 3.984 kB / 354.5 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1985, allocations: 189.5 kB / 354.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1985, allocations: 0 / 354.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.1985, allocations: 0 / 354.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1985, allocations: 11.88 kB / 354.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.1985, allocations: 8 kB / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1986, allocations: 3.938 kB / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1986, allocations: 0 / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.1989, allocations: 148.9 kB / 354.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.199, allocations: 97 kB / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.199, allocations: 3.938 kB / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.1991, allocations: 4 kB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-06/0.1991, allocations: 4 kB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1991, allocations: 8 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1992, allocations: 107.2 kB / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1992, allocations: 0 / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.1997, allocations: 16 kB / 355 MB, free: 15.4 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0001938/0.1999, allocations: 111.2 kB / 355.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.2002, allocations: 91.78 kB / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2002, allocations: 0 / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.2003, allocations: 0 / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.2009, allocations: 83.92 kB / 355.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.2015, allocations: 292.5 kB / 355.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2019, allocations: 0.7126 MB / 356.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.202, allocations: 15.44 kB / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.202, allocations: 0 / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Templates: time 0.004348/0.2064, allocations: 1.183 MB / 357.5 MB, free: 12.86 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches