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.001347/0.001347, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.00171/0.00171, allocations: 165 kB / 25.61 MB, free: 8.578 MB / 18.57 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 0.9454/0.9454, allocations: 177 MB / 205.9 MB, free: 4.422 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.485e-05, allocations: 3.219 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001516/0.00153, allocations: 0.9214 MB / 275 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000317/0.001847, allocations: 151.4 kB / 275.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.001936, allocations: 3.938 kB / 275.2 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.002051, allocations: 11.86 kB / 275.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.002164, allocations: 7.938 kB / 275.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.002347, allocations: 59.75 kB / 275.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.002457, allocations: 59.83 kB / 275.3 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.002552, allocations: 24.92 kB / 275.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.002614, allocations: 43.83 kB / 275.4 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.002685, allocations: 32.42 kB / 275.4 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.002704, allocations: 8 kB / 275.4 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.002714, allocations: 5.781 kB / 275.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.00276, allocations: 31.91 kB / 275.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.002789, allocations: 23.92 kB / 275.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.002892, allocations: 71.67 kB / 275.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002894, allocations: 0.6875 kB / 275.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.002895, allocations: 0 / 275.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.002899, allocations: 1.406 kB / 275.6 MB, free: 2.828 MB / 250.7 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.0003242/0.003223, allocations: 444 kB / 276 MB, free: 2.355 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.003254, allocations: 8.031 kB / 276 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.003285, allocations: 20.84 kB / 276 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.003577, allocations: 161.2 kB / 276.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.003589, allocations: 12.38 kB / 276.2 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.003599, allocations: 8.375 kB / 276.2 MB, free: 2.125 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.003798, allocations: 157.8 kB / 276.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.003805, allocations: 192 / 276.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.003813, allocations: 4.375 kB / 276.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.003819, allocations: 4.375 kB / 276.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.003846, allocations: 23.86 kB / 276.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.345e-05/0.00394, allocations: 113.2 kB / 276.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.004062, allocations: 95.44 kB / 276.6 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.004106, allocations: 46.19 kB / 276.6 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.004112, allocations: 0 / 276.6 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.004132, allocations: 41.39 kB / 276.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.004134, allocations: 0 / 276.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001445/0.004278, allocations: 113.8 kB / 276.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.00432, allocations: 67.34 kB / 276.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.004408, allocations: 212.6 kB / 277.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.004417, allocations: 29.7 kB / 277.1 MB, free: 1.137 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.004459, allocations: 143.2 kB / 277.2 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.004474, allocations: 3.984 kB / 277.2 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.004503, allocations: 31.31 kB / 277.3 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.004606, allocations: 0.5 MB / 277.8 MB, free: 444 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-06/0.004612, allocations: 0 / 277.8 MB, free: 444 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.004626, allocations: 23.31 kB / 277.8 MB, free: 412 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.00465, allocations: 23.36 kB / 277.8 MB, free: 380 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.004652, allocations: 8 kB / 277.8 MB, free: 372 kB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.868e-05/0.0047, allocations: 53.59 kB / 277.9 MB, free: 312 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.00471, allocations: 8 kB / 277.9 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.004714, allocations: 0 / 277.9 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.004721, allocations: 0 / 277.9 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.424e-05/0.004756, allocations: 8 kB / 277.9 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.004758, allocations: 3.984 kB / 277.9 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.00477, allocations: 3.938 kB / 277.9 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.004775, allocations: 3.938 kB / 277.9 MB, free: 284 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (4): * Single equations (assignments): 4 * 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 6.607e-05/0.004841, allocations: 164.6 kB / 278.1 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.004911, allocations: 96.28 kB / 278.2 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.004954, allocations: 29.17 kB / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.004956, allocations: 0 / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.004958, allocations: 0 / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.004961, allocations: 0 / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.016e-05/0.005021, allocations: 117 kB / 278.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005022, allocations: 0 / 278.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.005082, allocations: 31.92 kB / 278.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.005085, allocations: 4 kB / 278.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.005089, allocations: 0 / 278.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.00509, allocations: 0 / 278.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005091, allocations: 4 kB / 278.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.163e-05/0.005133, allocations: 76.33 kB / 278.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.005166, allocations: 27.83 kB / 278.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.005184, allocations: 8 kB / 278.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.005195, allocations: 0 / 278.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.005198, allocations: 3.938 kB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.005202, allocations: 4 kB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.837e-05/0.005251, allocations: 149.8 kB / 278.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005251, allocations: 0 / 278.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001206/0.005371, allocations: 16 kB / 278.6 MB, free: 15.5 MB / 266.7 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.0002038/0.005575, allocations: 111.2 kB / 278.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.111e-05/0.005646, allocations: 31.67 kB / 278.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005647, allocations: 0 / 278.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.005648, allocations: 0 / 278.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.005865, allocations: 75.59 kB / 278.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.006085, allocations: 222.5 kB / 279 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.00612, allocations: 79.27 kB / 279.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.436e-05/0.006135, allocations: 12.62 kB / 279.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.00619, allocations: 86.19 kB / 279.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.00619, allocations: 0 / 279.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Templates: time 0.002699/0.008889, allocations: 1.232 MB / 280.5 MB, free: 13.64 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8195575471036136]