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.001361/0.001361, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001535/0.001535, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001438/0.001438, allocations: 51.91 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2431, allocations: 53.36 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00227/0.2453, allocations: 0.9063 MB / 433.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003855/0.2457, allocations: 147.5 kB / 433.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.2458, allocations: 7.938 kB / 433.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2459, allocations: 15.86 kB / 433.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.2461, allocations: 15.86 kB / 433.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.2463, allocations: 43.89 kB / 433.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.2464, allocations: 75.77 kB / 433.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2465, allocations: 27.98 kB / 433.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.2466, allocations: 23.92 kB / 433.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.2467, allocations: 43.77 kB / 433.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2467, allocations: 8 kB / 433.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.2467, allocations: 4 kB / 433.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.2468, allocations: 31.91 kB / 433.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.2468, allocations: 39.69 kB / 433.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.247, allocations: 108.6 kB / 433.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.247, allocations: 0 / 433.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.247, allocations: 4 kB / 433.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.247, allocations: 0 / 433.9 MB, free: 5.43 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.0005244/0.2475, allocations: 337.7 kB / 434.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2475, allocations: 12.03 kB / 434.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.2476, allocations: 12.84 kB / 434.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.2478, allocations: 155.9 kB / 434.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2478, allocations: 12.38 kB / 434.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.2479, allocations: 8.375 kB / 434.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.2483, allocations: 246.5 kB / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2483, allocations: 192 / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2483, allocations: 3.938 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2483, allocations: 4 kB / 434.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.2484, allocations: 51.91 kB / 434.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.2486, allocations: 164.6 kB / 434.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.2488, allocations: 138.9 kB / 435 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.2489, allocations: 79.08 kB / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.2489, allocations: 0 / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.249, allocations: 42.55 kB / 435.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.249, allocations: 3.984 kB / 435.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003034/0.2493, allocations: 181.6 kB / 435.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.2493, allocations: 59.41 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.2495, allocations: 165.8 kB / 435.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2495, allocations: 29.7 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2496, allocations: 96.45 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2496, allocations: 11.94 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.2497, allocations: 41.72 kB / 435.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2498, allocations: 322.8 kB / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.2498, allocations: 19.98 kB / 436 MB, free: 3.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.25, allocations: 124.4 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.2501, allocations: 153.5 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2501, allocations: 0 / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002199/0.2503, allocations: 157.6 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2504, allocations: 8 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2504, allocations: 7.938 kB / 436.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2504, allocations: 7.984 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2505, allocations: 27.94 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.2505, allocations: 15.92 kB / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.2506, allocations: 11.95 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.2506, allocations: 8 kB / 436.5 MB, free: 2.484 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.0001256/0.2507, allocations: 150.6 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.2509, allocations: 144.7 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.2509, allocations: 21.06 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2509, allocations: 0 / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.251, allocations: 0 / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.251, allocations: 0 / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.2511, allocations: 168.6 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2511, allocations: 3.984 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.2512, allocations: 27.98 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2512, allocations: 4 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2512, allocations: 3.938 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2512, allocations: 7.984 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2512, allocations: 0 / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.2514, allocations: 160.9 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.2515, allocations: 27.89 kB / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.2515, allocations: 11.94 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.2516, allocations: 7.984 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.2516, allocations: 4 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2516, allocations: 8 kB / 437.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.2517, allocations: 111.2 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2517, allocations: 0 / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.2519, allocations: 16 kB / 437.4 MB, free: 1.551 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.0001075/0.252, allocations: 111.2 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.2522, allocations: 107.7 kB / 437.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2522, allocations: 0 / 437.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2522, allocations: 0 / 437.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.2526, allocations: 83.91 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.253, allocations: 291.7 kB / 438 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.2534, allocations: 0.7239 MB / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.2534, allocations: 11.44 kB / 438.7 MB, free: 176 kB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2534, allocations: 0 / 438.7 MB, free: 176 kB / 334.1 MB Notification: Performance of Templates: time 0.00299/0.2564, allocations: 1.375 MB / 440.1 MB, free: 14.8 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: 6.661898524966091]