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.001179/0.001179, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001372/0.001372, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001158, allocations: 42.27 kB / 300 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1704, allocations: 49.44 MB / 349.4 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.004316/0.1748, allocations: 0.9644 MB / 350.4 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005807/0.1754, allocations: 135.5 kB / 350.5 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1756, allocations: 4 kB / 350.5 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.1759, allocations: 7.922 kB / 350.5 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.1761, allocations: 11.94 kB / 350.5 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.1765, allocations: 39.89 kB / 350.6 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1767, allocations: 63.78 kB / 350.6 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.1769, allocations: 36.22 kB / 350.7 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.177, allocations: 23.92 kB / 350.7 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.1771, allocations: 31.78 kB / 350.7 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.1772, allocations: 4 kB / 350.7 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.483e-05/0.1772, allocations: 4 kB / 350.7 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1774, allocations: 27.91 kB / 350.7 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.392e-05/0.1775, allocations: 35.73 kB / 350.8 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1777, allocations: 75.7 kB / 350.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1777, allocations: 0 / 350.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1777, allocations: 0 / 350.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1777, allocations: 0 / 350.8 MB, free: 3.293 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.0007319/0.1784, allocations: 407.3 kB / 351.2 MB, free: 2.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.1785, allocations: 11.97 kB / 351.3 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.1786, allocations: 8.844 kB / 351.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.179, allocations: 208 kB / 351.5 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.179, allocations: 12.33 kB / 351.5 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.179, allocations: 4.375 kB / 351.5 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.1797, allocations: 214.5 kB / 351.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1798, allocations: 192 / 351.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.1798, allocations: 11.92 kB / 351.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1798, allocations: 0 / 351.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.18, allocations: 35.98 kB / 351.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.1803, allocations: 189.5 kB / 351.9 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.1807, allocations: 127 kB / 352.1 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.1809, allocations: 80.83 kB / 352.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.181, allocations: 0 / 352.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.181, allocations: 34.56 kB / 352.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.745e-06/0.181, allocations: 0 / 352.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004743/0.1815, allocations: 160.8 kB / 352.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1816, allocations: 67.41 kB / 352.4 MB, free: 1.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1818, allocations: 144.8 kB / 352.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.1819, allocations: 29.7 kB / 352.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.182, allocations: 88.41 kB / 352.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.182, allocations: 11.98 kB / 352.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.1822, allocations: 41.61 kB / 352.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.1824, allocations: 318.8 kB / 353 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.1825, allocations: 24 kB / 353 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1827, allocations: 117.7 kB / 353.1 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.183, allocations: 157.5 kB / 353.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.183, allocations: 4 kB / 353.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003807/0.1834, allocations: 149.2 kB / 353.4 MB, free: 380 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.1834, allocations: 12.44 kB / 353.5 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1834, allocations: 4 kB / 353.5 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.1835, allocations: 8 kB / 353.5 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.1835, allocations: 11.92 kB / 353.5 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.1836, allocations: 7.938 kB / 353.5 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1837, allocations: 15.91 kB / 353.5 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.1837, allocations: 8 kB / 353.5 MB, free: 312 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.0003164/0.1841, allocations: 141.7 kB / 353.7 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.1843, allocations: 121.4 kB / 353.8 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.1844, allocations: 21.17 kB / 353.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.1845, allocations: 7.938 kB / 353.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1845, allocations: 0 / 353.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1845, allocations: 0 / 353.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.1847, allocations: 185.5 kB / 354 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1848, allocations: 0 / 354 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.1848, allocations: 4 kB / 354 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.1848, allocations: 3.938 kB / 354 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1848, allocations: 7.984 kB / 354 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.1849, allocations: 7.938 kB / 354 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1849, allocations: 0 / 354 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1852, allocations: 148.9 kB / 354.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1853, allocations: 97 kB / 354.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1854, allocations: 11.92 kB / 354.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.167e-05/0.1855, allocations: 4 kB / 354.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-06/0.1855, allocations: 0 / 354.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1855, allocations: 4 kB / 354.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1856, allocations: 105.9 kB / 354.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1856, allocations: 7.938 kB / 354.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000422/0.1861, allocations: 16 kB / 354.4 MB, free: 15.32 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.0002069/0.1863, allocations: 111.2 kB / 354.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.1866, allocations: 95.06 kB / 354.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1866, allocations: 256 / 354.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.1866, allocations: 4 kB / 354.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.1872, allocations: 81.81 kB / 354.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.1879, allocations: 255.2 kB / 354.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.1884, allocations: 0.7165 MB / 355.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.119e-05/0.1885, allocations: 8.641 kB / 355.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.1886, allocations: 11.44 kB / 355.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1886, allocations: 0 / 355.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of Templates: time 0.005237/0.1938, allocations: 0.9525 MB / 356.6 MB, free: 13.05 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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