Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008656/0.0008656, allocations: 95.34 kB / 299.9 MB, free: 5.371 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 8 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 51.42 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001259/0.2972, allocations: 0.5894 MB / 412.7 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003598/0.2975, allocations: 139.6 kB / 412.8 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.2976, allocations: 4 kB / 412.8 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2978, allocations: 11.86 kB / 412.8 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.2979, allocations: 4 kB / 412.8 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.2982, allocations: 51.83 kB / 412.9 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2983, allocations: 65.06 kB / 412.9 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2985, allocations: 41.64 kB / 413 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.2985, allocations: 23.86 kB / 413 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.2986, allocations: 27.86 kB / 413 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.2986, allocations: 0 / 413 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.2986, allocations: 0 / 413 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.2987, allocations: 27.91 kB / 413 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.2988, allocations: 61.39 kB / 413.1 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2989, allocations: 83.62 kB / 413.2 MB, free: 24.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2989, allocations: 6.172 kB / 413.2 MB, free: 24.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2989, allocations: 0 / 413.2 MB, free: 24.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2989, allocations: 0 / 413.2 MB, free: 24.81 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.0004384/0.2994, allocations: 392.6 kB / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.2994, allocations: 12.03 kB / 413.6 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2995, allocations: 12.84 kB / 413.6 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.2997, allocations: 212 kB / 413.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2997, allocations: 4.375 kB / 413.8 MB, free: 24.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.2997, allocations: 8.375 kB / 413.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.3001, allocations: 244.8 kB / 414.1 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3001, allocations: 8.172 kB / 414.1 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3001, allocations: 7.938 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3002, allocations: 0 / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/0.3002, allocations: 47.97 kB / 414.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.3004, allocations: 189.6 kB / 414.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3006, allocations: 154.9 kB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.3007, allocations: 80.77 kB / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3007, allocations: 3.938 kB / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3008, allocations: 42.55 kB / 414.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3008, allocations: 0 / 414.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003222/0.3011, allocations: 173.6 kB / 414.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.3012, allocations: 63.34 kB / 414.8 MB, free: 23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3013, allocations: 164.6 kB / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3014, allocations: 25.7 kB / 415 MB, free: 22.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.3014, allocations: 96.45 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3014, allocations: 8 kB / 415.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.3015, allocations: 4 kB / 415.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.3015, allocations: 322.8 kB / 415.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.3016, allocations: 27.86 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.3017, allocations: 123 kB / 415.6 MB, free: 22.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3018, allocations: 149.5 kB / 415.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3018, allocations: 0 / 415.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001819/0.302, allocations: 165.1 kB / 415.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.302, allocations: 7.984 kB / 415.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.302, allocations: 11.94 kB / 415.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.3021, allocations: 8 kB / 415.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3022, allocations: 32.44 kB / 415.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3022, allocations: 15.97 kB / 415.9 MB, free: 21.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.3023, allocations: 7.938 kB / 416 MB, free: 21.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3023, allocations: 8 kB / 416 MB, free: 21.71 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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.3024, allocations: 149.7 kB / 416.1 MB, free: 21.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3026, allocations: 129.5 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.3026, allocations: 21.12 kB / 416.3 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3027, allocations: 0 / 416.3 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3027, allocations: 8 kB / 416.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3027, allocations: 0 / 416.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3028, allocations: 197.5 kB / 416.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3028, allocations: 3.938 kB / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3029, allocations: 27.98 kB / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3029, allocations: 0 / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3029, allocations: 7.938 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.303, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.303, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.3031, allocations: 164.9 kB / 416.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.3032, allocations: 108.9 kB / 416.8 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3032, allocations: 7.938 kB / 416.8 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/0.3033, allocations: 0 / 416.8 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-06/0.3033, allocations: 4 kB / 416.8 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3033, allocations: 4 kB / 416.8 MB, free: 20.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.287e-05/0.3034, allocations: 121.8 kB / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3034, allocations: 0 / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000216/0.3036, allocations: 16 kB / 416.9 MB, free: 20.66 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,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 0.0001354/0.3037, allocations: 125.8 kB / 417 MB, free: 20.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.3039, allocations: 99.72 kB / 417.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3039, allocations: 1 kB / 417.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.3039, allocations: 0 / 417.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.3044, allocations: 95.97 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.3047, allocations: 286.6 kB / 417.5 MB, free: 20.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3049, allocations: 0.7204 MB / 418.2 MB, free: 19.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.3049, allocations: 9.078 kB / 418.2 MB, free: 19.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.305, allocations: 15.44 kB / 418.2 MB, free: 19.26 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.305, allocations: 0 / 418.2 MB, free: 19.26 MB / 298.7 MB Notification: Performance of Templates: time 0.00313/0.3081, allocations: 1.071 MB / 419.3 MB, free: 18.19 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches