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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 177.2 kB / 17.4 MB, free: 4.277 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.505/1.505, allocations: 223.3 MB / 241.4 MB, free: 9.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008834/0.000883, allocations: 101 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 8 kB / 352.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.276, allocations: 50.41 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09507/0.3711, allocations: 76.84 MB / 479.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.3714, allocations: 79.95 kB / 479.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004537/0.376, allocations: 1.72 MB / 481.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.376, allocations: 0 / 481.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.376, allocations: 0 / 481.4 MB, free: 1.664 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.0004348/0.3765, allocations: 402.9 kB / 481.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3765, allocations: 8.031 kB / 481.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.3766, allocations: 12.84 kB / 481.8 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3768, allocations: 220.9 kB / 482 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3769, allocations: 4.375 kB / 482 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3769, allocations: 12.38 kB / 482 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.3773, allocations: 234.1 kB / 482.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3773, allocations: 192 / 482.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3773, allocations: 7.938 kB / 482.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3773, allocations: 7.984 kB / 482.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/0.3774, allocations: 49.45 kB / 482.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.3776, allocations: 193.5 kB / 482.5 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3779, allocations: 143 kB / 482.7 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.378, allocations: 89.09 kB / 482.7 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.378, allocations: 3.938 kB / 482.7 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3781, allocations: 30.56 kB / 482.8 MB, free: 116 kB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3781, allocations: 0 / 482.8 MB, free: 116 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003582/0.3784, allocations: 174.4 kB / 482.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.3785, allocations: 67.41 kB / 483 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3787, allocations: 167.5 kB / 483.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3787, allocations: 25.7 kB / 483.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3788, allocations: 92.47 kB / 483.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3788, allocations: 7.984 kB / 483.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.3788, allocations: 4 kB / 483.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3789, allocations: 322.8 kB / 483.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.379, allocations: 19.98 kB / 483.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3791, allocations: 126.3 kB / 483.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3793, allocations: 162.6 kB / 483.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3793, allocations: 0 / 483.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002363/0.3796, allocations: 161.2 kB / 484.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3796, allocations: 10.66 kB / 484.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3796, allocations: 12.44 kB / 484.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3797, allocations: 4 kB / 484.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3798, allocations: 35.92 kB / 484.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3798, allocations: 8 kB / 484.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.3799, allocations: 8 kB / 484.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3799, allocations: 11.94 kB / 484.2 MB, free: 14.57 MB / 362.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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.38, allocations: 141.8 kB / 484.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.3802, allocations: 141.3 kB / 484.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.3803, allocations: 25.11 kB / 484.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3803, allocations: 4 kB / 484.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3803, allocations: 0 / 484.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.3803, allocations: 0 / 484.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3805, allocations: 193.5 kB / 484.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3805, allocations: 0 / 484.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.3806, allocations: 27.98 kB / 484.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3806, allocations: 4 kB / 484.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3806, allocations: 3.938 kB / 484.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3806, allocations: 0 / 484.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3806, allocations: 0 / 484.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.3809, allocations: 168.9 kB / 484.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.381, allocations: 104.8 kB / 485 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.381, allocations: 7.938 kB / 485 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.381, allocations: 4 kB / 485 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-06/0.381, allocations: 0 / 485 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.381, allocations: 4 kB / 485 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.953e-05/0.3811, allocations: 122.1 kB / 485.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3812, allocations: 0 / 485.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.3814, allocations: 20 kB / 485.1 MB, free: 13.52 MB / 362.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,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 (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.0001341/0.3815, allocations: 111.2 kB / 485.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.3817, allocations: 100.5 kB / 485.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3817, allocations: 256 / 485.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.3817, allocations: 4 kB / 485.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.3821, allocations: 95.72 kB / 485.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.3826, allocations: 267 kB / 485.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.3829, allocations: 0.7319 MB / 486.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.882e-05/0.383, allocations: 9.078 kB / 486.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.3831, allocations: 15.44 kB / 486.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3831, allocations: 0 / 486.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003786/0.3869, allocations: 1.032 MB / 487.5 MB, free: 11.12 MB / 362.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches