Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001955/0.001955, allocations: 106.6 kB / 18.45 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002664/0.002665, allocations: 213.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.721/2.721, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3087, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002386/0.3112, allocations: 0.8938 MB / 410.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004633/0.3117, allocations: 135.6 kB / 411 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3118, allocations: 4 kB / 411 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.3119, allocations: 15.86 kB / 411 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3121, allocations: 19.86 kB / 411 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.3124, allocations: 47.89 kB / 411 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3125, allocations: 67.77 kB / 411.1 MB, free: 444 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3127, allocations: 47.95 kB / 411.2 MB, free: 396 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.3128, allocations: 23.92 kB / 411.2 MB, free: 372 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.3129, allocations: 39.78 kB / 411.2 MB, free: 332 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3129, allocations: 4 kB / 411.2 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.3129, allocations: 8 kB / 411.2 MB, free: 320 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.313, allocations: 27.92 kB / 411.3 MB, free: 292 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.3131, allocations: 43.67 kB / 411.3 MB, free: 248 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3133, allocations: 95.58 kB / 411.4 MB, free: 152 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3133, allocations: 3.938 kB / 411.4 MB, free: 148 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3133, allocations: 4 kB / 411.4 MB, free: 144 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.3133, allocations: 0 / 411.4 MB, free: 144 kB / 318.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.0006029/0.3139, allocations: 408.2 kB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3139, allocations: 12.03 kB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.314, allocations: 12.75 kB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3143, allocations: 215.9 kB / 412 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3143, allocations: 8.375 kB / 412 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3143, allocations: 8.375 kB / 412 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.3148, allocations: 241.6 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3148, allocations: 192 / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3148, allocations: 3.938 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3148, allocations: 7.938 kB / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3149, allocations: 59 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.3151, allocations: 189.5 kB / 412.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.3154, allocations: 150.9 kB / 412.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3155, allocations: 84.81 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3156, allocations: 4 kB / 412.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3156, allocations: 34.56 kB / 412.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.3156, allocations: 0 / 412.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003258/0.3159, allocations: 173.7 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.316, allocations: 67.34 kB / 413 MB, free: 14.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3161, allocations: 161.4 kB / 413.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3162, allocations: 29.7 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.3162, allocations: 92.47 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3163, allocations: 23.83 kB / 413.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.3163, allocations: 33.7 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3165, allocations: 322.8 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.3165, allocations: 19.98 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3166, allocations: 128.7 kB / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3168, allocations: 153.5 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3168, allocations: 0 / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002268/0.3171, allocations: 169.4 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3171, allocations: 4 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.3171, allocations: 7.938 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3171, allocations: 4 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3173, allocations: 39.91 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3173, allocations: 4 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.3174, allocations: 11.91 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3174, allocations: 8 kB / 414.2 MB, free: 12.99 MB / 334.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.0001334/0.3175, allocations: 150 kB / 414.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.3177, allocations: 136.7 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.3178, allocations: 21.12 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3178, allocations: 4 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3178, allocations: 0 / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3178, allocations: 0 / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3179, allocations: 201.5 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3179, allocations: 0 / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3181, allocations: 31.98 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3181, allocations: 0 / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3181, allocations: 7.938 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3181, allocations: 3.938 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3181, allocations: 0 / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.3183, allocations: 168.8 kB / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.3184, allocations: 104.9 kB / 415 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.3185, allocations: 7.938 kB / 415 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.3185, allocations: 8 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.3185, allocations: 0 / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3185, allocations: 4 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.84e-05/0.3186, allocations: 118.3 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3186, allocations: 0 / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.3189, allocations: 20 kB / 415.2 MB, free: 11.92 MB / 334.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 0.0001453/0.319, allocations: 111.2 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.3192, allocations: 107.7 kB / 415.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3192, allocations: 4 kB / 415.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.3192, allocations: 0 / 415.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3196, allocations: 90.06 kB / 415.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.3201, allocations: 280.1 kB / 415.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3205, allocations: 0.7317 MB / 416.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.3205, allocations: 11.44 kB / 416.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3205, allocations: 0 / 416.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Templates: time 0.003501/0.324, allocations: 1.37 MB / 417.9 MB, free: 9.168 MB / 334.1 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/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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches