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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.273/1.273, allocations: 221.3 MB / 235.5 MB, free: 2.902 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008324/0.0008322, allocations: 93.78 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.86e-05, allocations: 0 / 343.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09501, allocations: 50.42 MB / 394.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.375, allocations: 76.71 MB / 471 MB, free: 10.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.3752, allocations: 75.95 kB / 471 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00369/0.3789, allocations: 1.603 MB / 472.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3789, allocations: 0 / 472.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.379, allocations: 4 kB / 472.6 MB, free: 9.168 MB / 346.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.0002586/0.3792, allocations: 363 kB / 473 MB, free: 8.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3793, allocations: 8.031 kB / 473 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3793, allocations: 11.81 kB / 473 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.3795, allocations: 200.4 kB / 473.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.3795, allocations: 0 / 473.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.3795, allocations: 16 kB / 473.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.3799, allocations: 213.5 kB / 473.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3799, allocations: 3.984 kB / 473.4 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3799, allocations: 8 kB / 473.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3799, allocations: 0 / 473.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.38, allocations: 37.55 kB / 473.5 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.3801, allocations: 185.6 kB / 473.7 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3803, allocations: 120.2 kB / 473.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.3805, allocations: 81.31 kB / 473.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3805, allocations: 3.938 kB / 473.9 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.3805, allocations: 39.7 kB / 473.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.3805, allocations: 0 / 473.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001983/0.3807, allocations: 114.2 kB / 474 MB, free: 7.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3808, allocations: 71.3 kB / 474.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.3809, allocations: 122.7 kB / 474.2 MB, free: 7.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3809, allocations: 29.7 kB / 474.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.3809, allocations: 84.47 kB / 474.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.3809, allocations: 23.88 kB / 474.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.381, allocations: 4 kB / 474.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.381, allocations: 330.7 kB / 474.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.3811, allocations: 16 kB / 474.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.3812, allocations: 116.3 kB / 474.8 MB, free: 6.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.3812, allocations: 39.92 kB / 474.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3812, allocations: 0 / 474.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001902/0.3814, allocations: 157.2 kB / 475 MB, free: 6.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3815, allocations: 5.25 kB / 475 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3815, allocations: 4 kB / 475 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3815, allocations: 7.938 kB / 475 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.586e-05/0.3815, allocations: 12.48 kB / 475 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3815, allocations: 11.94 kB / 475 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.3816, allocations: 8 kB / 475 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3816, allocations: 8 kB / 475 MB, free: 6.504 MB / 346.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 () * 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.098e-05/0.3817, allocations: 128.8 kB / 475.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.3818, allocations: 113.5 kB / 475.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.3819, allocations: 16.75 kB / 475.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3819, allocations: 0 / 475.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3819, allocations: 0 / 475.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3819, allocations: 7.984 kB / 475.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.382, allocations: 185.6 kB / 475.5 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.382, allocations: 0 / 475.5 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.3821, allocations: 11.94 kB / 475.5 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3821, allocations: 0 / 475.5 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3821, allocations: 4 kB / 475.5 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3821, allocations: 4.547 kB / 475.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3821, allocations: 0 / 475.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3823, allocations: 148.9 kB / 475.6 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.3824, allocations: 101 kB / 475.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3824, allocations: 0 / 475.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.3824, allocations: 4 kB / 475.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-06/0.3824, allocations: 0 / 475.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3824, allocations: 4 kB / 475.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.893e-05/0.3825, allocations: 104.4 kB / 475.9 MB, free: 5.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3825, allocations: 0 / 475.9 MB, free: 5.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.3827, allocations: 20 kB / 475.9 MB, free: 5.57 MB / 346.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 () * 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 0.0001022/0.3828, allocations: 115.1 kB / 476 MB, free: 5.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.383, allocations: 94.27 kB / 476.1 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.383, allocations: 0 / 476.1 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-07/0.383, allocations: 0 / 476.1 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3832, allocations: 80.88 kB / 476.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.3835, allocations: 161.4 kB / 476.3 MB, free: 5.098 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.3837, allocations: 0.7164 MB / 477 MB, free: 4.355 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.3838, allocations: 12.75 kB / 477 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.3838, allocations: 11.44 kB / 477.1 MB, free: 4.336 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3838, allocations: 0 / 477.1 MB, free: 4.336 MB / 346.7 MB Notification: Performance of Templates: time 0.002589/0.3864, allocations: 0.9183 MB / 478 MB, free: 3.434 MB / 346.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