Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 107.6 kB / 21.19 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 213.2 kB / 24.48 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.94 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2465, allocations: 53.37 MB / 432.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002235/0.2488, allocations: 0.9025 MB / 433.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003811/0.2491, allocations: 143.5 kB / 433.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.2492, allocations: 7.938 kB / 433.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.201e-05/0.2493, allocations: 15.86 kB / 433.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2494, allocations: 11.94 kB / 433.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.2496, allocations: 43.89 kB / 433.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2498, allocations: 75.7 kB / 433.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2499, allocations: 23.98 kB / 433.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.2499, allocations: 31.84 kB / 433.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.25, allocations: 35.84 kB / 433.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.25, allocations: 4 kB / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.2501, allocations: 8 kB / 433.6 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.2501, allocations: 39.84 kB / 433.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.2502, allocations: 23.81 kB / 433.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.2503, allocations: 109.7 kB / 433.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2503, allocations: 0 / 433.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2503, allocations: 0 / 433.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2503, allocations: 0 / 433.8 MB, free: 5.316 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.0005031/0.2508, allocations: 345.7 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2509, allocations: 12.02 kB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.2509, allocations: 16.84 kB / 434.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2511, allocations: 146.3 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2511, allocations: 4.375 kB / 434.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.2512, allocations: 16.36 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.2516, allocations: 246.1 kB / 434.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2516, allocations: 192 / 434.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2516, allocations: 7.938 kB / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2516, allocations: 0 / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.2517, allocations: 47.97 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.2518, allocations: 133.2 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.2521, allocations: 142.9 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2522, allocations: 80.14 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2522, allocations: 0 / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.2523, allocations: 42.55 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.2523, allocations: 0 / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003173/0.2526, allocations: 177.7 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.2526, allocations: 59.41 kB / 435.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2528, allocations: 167.5 kB / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2528, allocations: 29.7 kB / 435.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.2529, allocations: 92.47 kB / 435.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.2529, allocations: 15.94 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.253, allocations: 41.7 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2531, allocations: 318.8 kB / 435.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.2531, allocations: 27.92 kB / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.2533, allocations: 121.7 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.2534, allocations: 149.5 kB / 436.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2534, allocations: 0 / 436.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002342/0.2537, allocations: 165.3 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2537, allocations: 4 kB / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2537, allocations: 7.984 kB / 436.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2537, allocations: 12.44 kB / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2538, allocations: 39.92 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2538, allocations: 11.92 kB / 436.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.2539, allocations: 7.953 kB / 436.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2539, allocations: 15.94 kB / 436.4 MB, free: 2.398 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.000138/0.2541, allocations: 146.5 kB / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.2542, allocations: 141.5 kB / 436.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.2543, allocations: 13.12 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2543, allocations: 7.938 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2543, allocations: 4 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2543, allocations: 3.984 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2544, allocations: 121.3 kB / 436.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2544, allocations: 3.984 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.2545, allocations: 27.98 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2545, allocations: 3.938 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2545, allocations: 8 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2545, allocations: 0 / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2545, allocations: 3.938 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.2548, allocations: 164.2 kB / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.2548, allocations: 27.89 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2549, allocations: 4 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.2549, allocations: 11.98 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-06/0.2549, allocations: 3.938 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2549, allocations: 0 / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.539e-05/0.255, allocations: 119.2 kB / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.255, allocations: 0 / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.2552, allocations: 16 kB / 437.3 MB, free: 1.523 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.0001133/0.2554, allocations: 115.2 kB / 437.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.2556, allocations: 95.77 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.2556, allocations: 4 kB / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.2556, allocations: 0 / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.2559, allocations: 94.09 kB / 437.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.2564, allocations: 284.9 kB / 437.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2565, allocations: 113 kB / 437.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.2565, allocations: 11.44 kB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2565, allocations: 0 / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of Templates: time 0.003186/0.2597, allocations: 1.391 MB / 439.4 MB, free: 15.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.032080082979519]