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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 205.9 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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=5010,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=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 72.08 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2865, allocations: 53.4 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002426/0.289, allocations: 0.9053 MB / 432.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004416/0.2894, allocations: 139.5 kB / 432.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.2895, allocations: 3.938 kB / 432.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.2896, allocations: 19.86 kB / 432.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.2897, allocations: 15.88 kB / 432.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.29, allocations: 47.88 kB / 432.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.2901, allocations: 63.84 kB / 432.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2903, allocations: 27.91 kB / 432.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.2903, allocations: 31.86 kB / 432.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.2904, allocations: 31.84 kB / 432.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.2904, allocations: 4 kB / 432.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.92e-05/0.2905, allocations: 8 kB / 432.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.646e-05/0.2905, allocations: 31.84 kB / 433 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.2906, allocations: 43.78 kB / 433 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2908, allocations: 102 kB / 433.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2908, allocations: 0 / 433.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2908, allocations: 0 / 433.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.2908, allocations: 3.938 kB / 433.1 MB, free: 5.223 MB / 334.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.0005768/0.2914, allocations: 345.7 kB / 433.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2914, allocations: 11.98 kB / 433.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.2915, allocations: 16.84 kB / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.2917, allocations: 145.4 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2917, allocations: 8.375 kB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2917, allocations: 12.38 kB / 433.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.2922, allocations: 246.1 kB / 433.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2922, allocations: 192 / 433.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2922, allocations: 7.938 kB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2922, allocations: 0 / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.2923, allocations: 51.97 kB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.2925, allocations: 137.2 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.2927, allocations: 138.9 kB / 434.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2929, allocations: 84.75 kB / 434.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2929, allocations: 3.938 kB / 434.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.2929, allocations: 34.56 kB / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.2929, allocations: 0 / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003388/0.2933, allocations: 180.7 kB / 434.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.2933, allocations: 59.41 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.2935, allocations: 162.2 kB / 434.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.2935, allocations: 29.7 kB / 434.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.2936, allocations: 92.47 kB / 434.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.2936, allocations: 15.94 kB / 434.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.2937, allocations: 41.7 kB / 434.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2938, allocations: 318.8 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.2938, allocations: 27.92 kB / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.294, allocations: 113.7 kB / 435.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2941, allocations: 149.5 kB / 435.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2941, allocations: 0 / 435.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002266/0.2944, allocations: 169.2 kB / 435.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2944, allocations: 4 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2944, allocations: 4.5 kB / 435.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2944, allocations: 7.938 kB / 435.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2945, allocations: 43.92 kB / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2945, allocations: 4 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.2946, allocations: 11.89 kB / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2946, allocations: 8 kB / 435.7 MB, free: 2.32 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.0001462/0.2948, allocations: 150.4 kB / 435.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.2949, allocations: 141.5 kB / 436 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.295, allocations: 17.12 kB / 436 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.295, allocations: 11.92 kB / 436 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.295, allocations: 4 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.295, allocations: 0 / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.2951, allocations: 133.1 kB / 436.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2951, allocations: 0 / 436.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.2952, allocations: 27.98 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2952, allocations: 0 / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2952, allocations: 0 / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2952, allocations: 4 kB / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2952, allocations: 3.938 kB / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2955, allocations: 167.9 kB / 436.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.2956, allocations: 39.88 kB / 436.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2956, allocations: 0 / 436.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.2956, allocations: 4 kB / 436.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-06/0.2956, allocations: 7.938 kB / 436.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2956, allocations: 4 kB / 436.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.853e-05/0.2957, allocations: 123.9 kB / 436.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2957, allocations: 0 / 436.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000232/0.296, allocations: 16 kB / 436.6 MB, free: 1.422 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.0001197/0.2961, allocations: 111.8 kB / 436.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.2963, allocations: 99.72 kB / 436.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.2964, allocations: 4 kB / 436.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.2964, allocations: 0 / 436.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2967, allocations: 87.28 kB / 436.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.2972, allocations: 259.2 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2973, allocations: 109 kB / 437.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.713e-05/0.2974, allocations: 9.078 kB / 437.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.2974, allocations: 19.44 kB / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2974, allocations: 0 / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of Templates: time 0.004728/0.3021, allocations: 1.329 MB / 438.6 MB, free: 15.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.516678877174854]