Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009042/0.0009044, allocations: 182.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 225.7 MB / 243.2 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007102/0.0007105, allocations: 91.05 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002132/0.0002132, allocations: 11.94 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1848, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.0009489/0.1858, allocations: 0.6093 MB / 405.2 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.1861, allocations: 132.5 kB / 405.3 MB, free: 30.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.1862, allocations: 4 kB / 405.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.788e-05/0.1862, allocations: 4.906 kB / 405.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.1863, allocations: 11.94 kB / 405.3 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.1865, allocations: 40.95 kB / 405.4 MB, free: 30.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.1866, allocations: 55.84 kB / 405.4 MB, free: 30.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1867, allocations: 34.91 kB / 405.5 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.1868, allocations: 19.91 kB / 405.5 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.1868, allocations: 24.89 kB / 405.5 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1868, allocations: 0 / 405.5 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.1868, allocations: 7.938 kB / 405.5 MB, free: 30.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.1869, allocations: 21.17 kB / 405.5 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.1869, allocations: 57.44 kB / 405.6 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.061e-05/0.187, allocations: 75.69 kB / 405.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.187, allocations: 2.625 kB / 405.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.187, allocations: 0 / 405.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.1871, allocations: 0 / 405.7 MB, free: 30.23 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.0002559/0.1873, allocations: 372.8 kB / 406 MB, free: 29.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1874, allocations: 8.031 kB / 406 MB, free: 29.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.1874, allocations: 16.83 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1875, allocations: 204.6 kB / 406.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1876, allocations: 13.38 kB / 406.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1876, allocations: 8.375 kB / 406.3 MB, free: 29.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1879, allocations: 219 kB / 406.5 MB, free: 29.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1879, allocations: 192 / 406.5 MB, free: 29.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1879, allocations: 11.94 kB / 406.5 MB, free: 29.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1879, allocations: 4 kB / 406.5 MB, free: 29.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.188, allocations: 39.97 kB / 406.5 MB, free: 29.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.94e-05/0.1881, allocations: 188.8 kB / 406.7 MB, free: 29.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1883, allocations: 123 kB / 406.9 MB, free: 28.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.1884, allocations: 80.77 kB / 406.9 MB, free: 28.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.1884, allocations: 4 kB / 406.9 MB, free: 28.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.11e-05/0.1884, allocations: 34.56 kB / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.1884, allocations: 0 / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002054/0.1886, allocations: 153.4 kB / 407.1 MB, free: 28.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1886, allocations: 59.41 kB / 407.2 MB, free: 28.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.1887, allocations: 146.2 kB / 407.3 MB, free: 28.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.1887, allocations: 33.7 kB / 407.4 MB, free: 28.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.1888, allocations: 84.47 kB / 407.4 MB, free: 28.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.1888, allocations: 15.89 kB / 407.5 MB, free: 28.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1888, allocations: 4 kB / 407.5 MB, free: 28.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.1889, allocations: 322.8 kB / 407.8 MB, free: 27.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.1889, allocations: 15.98 kB / 407.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.1889, allocations: 129.7 kB / 407.9 MB, free: 27.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.189, allocations: 145.5 kB / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.189, allocations: 0 / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001528/0.1892, allocations: 153.4 kB / 408.2 MB, free: 27.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1892, allocations: 11.94 kB / 408.2 MB, free: 27.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1892, allocations: 4 kB / 408.2 MB, free: 27.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1893, allocations: 11.88 kB / 408.2 MB, free: 27.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.379e-05/0.1893, allocations: 15.92 kB / 408.2 MB, free: 27.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1893, allocations: 7.938 kB / 408.3 MB, free: 27.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.1893, allocations: 4 kB / 408.3 MB, free: 27.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1894, allocations: 12.38 kB / 408.3 MB, free: 27.31 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.1895, allocations: 145.7 kB / 408.4 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1896, allocations: 117.4 kB / 408.5 MB, free: 27.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.1897, allocations: 17.19 kB / 408.5 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1897, allocations: 0 / 408.5 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1897, allocations: 0 / 408.5 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1897, allocations: 0 / 408.5 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.156e-05/0.1898, allocations: 189.6 kB / 408.7 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1898, allocations: 0 / 408.7 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.1898, allocations: 11.94 kB / 408.7 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1898, allocations: 3.938 kB / 408.7 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1898, allocations: 7.984 kB / 408.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1898, allocations: 0 / 408.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1898, allocations: 0 / 408.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.19, allocations: 148.9 kB / 408.9 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.19, allocations: 93 kB / 409 MB, free: 26.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.19, allocations: 19.91 kB / 409 MB, free: 26.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.1901, allocations: 4 kB / 409 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-06/0.1901, allocations: 0 / 409 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1901, allocations: 4 kB / 409 MB, free: 26.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.1901, allocations: 103.3 kB / 409.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1901, allocations: 0 / 409.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.1903, allocations: 16 kB / 409.1 MB, free: 26.34 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,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 8.703e-05/0.1904, allocations: 119.2 kB / 409.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1906, allocations: 95.78 kB / 409.3 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1906, allocations: 0 / 409.3 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1906, allocations: 0 / 409.3 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1909, allocations: 80.78 kB / 409.4 MB, free: 26.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.1912, allocations: 264.2 kB / 409.7 MB, free: 25.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.1913, allocations: 0.7048 MB / 410.4 MB, free: 25.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.1913, allocations: 16.64 kB / 410.4 MB, free: 25.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.1914, allocations: 15.44 kB / 410.4 MB, free: 25 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1914, allocations: 0 / 410.4 MB, free: 25 MB / 298.7 MB Notification: Performance of Templates: time 0.002531/0.1939, allocations: 0.9444 MB / 411.4 MB, free: 24.06 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches