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.001734/0.001734, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001448/0.001448, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.449/1.449, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.002163/0.002163, allocations: 67.89 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2939, allocations: 53.4 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002687/0.2966, allocations: 0.9255 MB / 433.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004403/0.297, allocations: 139.5 kB / 433.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2971, allocations: 7.938 kB / 433.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2973, allocations: 15.86 kB / 433.5 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.2974, allocations: 19.84 kB / 433.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.2977, allocations: 43.91 kB / 433.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.2978, allocations: 75.75 kB / 433.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.298, allocations: 27.98 kB / 433.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.298, allocations: 31.86 kB / 433.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2981, allocations: 35.83 kB / 433.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.2981, allocations: 8 kB / 433.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.2982, allocations: 4 kB / 433.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.2982, allocations: 31.86 kB / 433.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.2983, allocations: 39.73 kB / 433.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2985, allocations: 104.7 kB / 433.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2985, allocations: 4 kB / 433.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2985, allocations: 0 / 433.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2985, allocations: 0 / 433.9 MB, free: 5.281 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.0006776/0.2992, allocations: 341.7 kB / 434.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2992, allocations: 8.031 kB / 434.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.2993, allocations: 16.84 kB / 434.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.2995, allocations: 149.4 kB / 434.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2995, allocations: 12.31 kB / 434.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.2995, allocations: 12.38 kB / 434.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.3, allocations: 242.1 kB / 434.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3, allocations: 4.188 kB / 434.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3, allocations: 3.938 kB / 434.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3, allocations: 0 / 434.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.227e-05/0.3001, allocations: 55.91 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.3003, allocations: 160.6 kB / 434.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.3006, allocations: 142.9 kB / 435.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.3007, allocations: 84.75 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.3007, allocations: 11.98 kB / 435.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3007, allocations: 30.56 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.3007, allocations: 0 / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003316/0.3011, allocations: 184.9 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.3011, allocations: 63.41 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3014, allocations: 154.2 kB / 435.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3014, allocations: 33.64 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.3015, allocations: 96.45 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3015, allocations: 15.95 kB / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.3015, allocations: 33.7 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3017, allocations: 326.8 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.3017, allocations: 19.98 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3019, allocations: 124.2 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.3021, allocations: 153.5 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3021, allocations: 0 / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002376/0.3023, allocations: 157.5 kB / 436.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3023, allocations: 8 kB / 436.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3023, allocations: 7.938 kB / 436.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3023, allocations: 4 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3025, allocations: 35.92 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3025, allocations: 4 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.3025, allocations: 15.94 kB / 436.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3025, allocations: 8 kB / 436.6 MB, free: 2.336 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.00014/0.3027, allocations: 150.8 kB / 436.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.3029, allocations: 137.5 kB / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.3029, allocations: 28.98 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3029, allocations: 0 / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3029, allocations: 4 kB / 436.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3029, allocations: 0 / 436.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.3031, allocations: 160.7 kB / 437.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3031, allocations: 0 / 437.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3032, allocations: 31.98 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3032, allocations: 0 / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3032, allocations: 11.92 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3032, allocations: 0 / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3032, allocations: 0 / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.3035, allocations: 168.7 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.3035, allocations: 23.89 kB / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3036, allocations: 11.94 kB / 437.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.979e-05/0.3036, allocations: 7.938 kB / 437.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-06/0.3036, allocations: 0 / 437.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3036, allocations: 8 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.863e-05/0.3037, allocations: 119.9 kB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3037, allocations: 0 / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.3039, allocations: 20 kB / 437.5 MB, free: 1.398 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.0001248/0.3041, allocations: 103.9 kB / 437.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3043, allocations: 107.7 kB / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3043, allocations: 0 / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3043, allocations: 0 / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3047, allocations: 95.47 kB / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.3052, allocations: 280.9 kB / 438 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.3056, allocations: 0.7239 MB / 438.8 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3056, allocations: 15.44 kB / 438.8 MB, free: 20 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3056, allocations: 0 / 438.8 MB, free: 20 kB / 334.1 MB Notification: Performance of Templates: time 0.003343/0.3089, allocations: 1.365 MB / 440.1 MB, free: 14.66 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.140712045133114]