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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000768/0.000768, allocations: 91.92 kB / 17.31 MB, free: 6.109 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.0007967/0.0007967, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.282/1.282, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002337, allocations: 7.938 kB / 302.1 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.073/0.07325, allocations: 50.42 MB / 352.5 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001025/0.0743, allocations: 0.6163 MB / 353.1 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003159/0.07463, allocations: 143.6 kB / 353.3 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.07471, allocations: 7.938 kB / 353.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.613e-05/0.0748, allocations: 11.92 kB / 353.3 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.0749, allocations: 3.938 kB / 353.3 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.0751, allocations: 47.89 kB / 353.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.693e-05/0.07521, allocations: 59.84 kB / 353.4 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.07533, allocations: 35.98 kB / 353.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.07537, allocations: 27.84 kB / 353.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.07545, allocations: 31.8 kB / 353.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.07547, allocations: 0 / 353.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.07549, allocations: 8 kB / 353.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.07555, allocations: 15.92 kB / 353.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.07561, allocations: 65.38 kB / 353.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.616e-05/0.0757, allocations: 63.88 kB / 353.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.07571, allocations: 0 / 353.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07571, allocations: 0 / 353.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.07572, allocations: 0 / 353.6 MB, free: 2.336 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.0003955/0.07612, allocations: 399.2 kB / 354 MB, free: 1.895 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.07616, allocations: 8.031 kB / 354 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.0762, allocations: 16.75 kB / 354 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.07639, allocations: 216 kB / 354.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.07641, allocations: 8.375 kB / 354.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.07643, allocations: 8.312 kB / 354.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.07682, allocations: 230.4 kB / 354.5 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.07684, allocations: 4.188 kB / 354.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.07686, allocations: 7.938 kB / 354.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.07687, allocations: 0 / 354.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.242e-05/0.07695, allocations: 51.91 kB / 354.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.0771, allocations: 193.5 kB / 354.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.07734, allocations: 147 kB / 354.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.07747, allocations: 88.81 kB / 355 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.07748, allocations: 0 / 355 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.07751, allocations: 30.56 kB / 355 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.07752, allocations: 0 / 355 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002804/0.0778, allocations: 181.5 kB / 355.2 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.07786, allocations: 63.41 kB / 355.2 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.07798, allocations: 158.1 kB / 355.4 MB, free: 376 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.07801, allocations: 37.7 kB / 355.4 MB, free: 332 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.07805, allocations: 88.47 kB / 355.5 MB, free: 236 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.07808, allocations: 7.984 kB / 355.5 MB, free: 228 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.07812, allocations: 29.7 kB / 355.6 MB, free: 192 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.07822, allocations: 322.8 kB / 355.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.07826, allocations: 23.98 kB / 355.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.07836, allocations: 113.7 kB / 356 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.0785, allocations: 161.5 kB / 356.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.07851, allocations: 3.938 kB / 356.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002148/0.07873, allocations: 165.1 kB / 356.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.07875, allocations: 10.81 kB / 356.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.07877, allocations: 7.938 kB / 356.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.07879, allocations: 7.984 kB / 356.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.0789, allocations: 31.92 kB / 356.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.07892, allocations: 8.438 kB / 356.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.07899, allocations: 15.91 kB / 356.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.079, allocations: 12 kB / 356.4 MB, free: 15.21 MB / 302.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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001038/0.07911, allocations: 145.6 kB / 356.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.07928, allocations: 136.6 kB / 356.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.07934, allocations: 29.12 kB / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.07935, allocations: 0 / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.07936, allocations: 0 / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.07937, allocations: 7.984 kB / 356.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.07948, allocations: 189.5 kB / 356.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.07949, allocations: 0 / 356.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.07961, allocations: 27.98 kB / 357 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.07962, allocations: 0 / 357 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.07963, allocations: 7.938 kB / 357 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.07964, allocations: 3.938 kB / 357 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.07965, allocations: 3.938 kB / 357 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.07984, allocations: 164.9 kB / 357.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.07992, allocations: 108.9 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.07995, allocations: 3.938 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.07999, allocations: 4 kB / 357.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-06/0.08, allocations: 0 / 357.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.08001, allocations: 4 kB / 357.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.08009, allocations: 125.4 kB / 357.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0801, allocations: 0 / 357.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.08034, allocations: 16 kB / 357.4 MB, free: 14.15 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,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 (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.669e-05/0.08043, allocations: 119.2 kB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.0806, allocations: 95.77 kB / 357.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.08061, allocations: 0 / 357.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-07/0.08062, allocations: 1 kB / 357.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.08097, allocations: 95.12 kB / 357.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.08137, allocations: 316.5 kB / 358 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.08161, allocations: 0.728 MB / 358.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.08164, allocations: 11.44 kB / 358.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08165, allocations: 0 / 358.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Templates: time 0.002545/0.0842, allocations: 1.334 MB / 360.1 MB, free: 11.41 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches