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.001611/0.001611, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001502/0.001502, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.619/1.619, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001935/0.001935, allocations: 67.88 kB / 373.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1437, allocations: 53.32 MB / 427.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002558/0.1463, allocations: 0.9017 MB / 428 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.1467, allocations: 151.5 kB / 428.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1469, allocations: 4 kB / 428.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.147, allocations: 11.86 kB / 428.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.1471, allocations: 19.86 kB / 428.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1474, allocations: 43.89 kB / 428.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1475, allocations: 67.83 kB / 428.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1477, allocations: 31.98 kB / 428.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/0.1477, allocations: 31.8 kB / 428.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1478, allocations: 43.77 kB / 428.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.1478, allocations: 4 kB / 428.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.1479, allocations: 8 kB / 428.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.1479, allocations: 31.91 kB / 428.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.148, allocations: 39.69 kB / 428.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1482, allocations: 103.5 kB / 428.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1482, allocations: 0 / 428.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1482, allocations: 0 / 428.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1482, allocations: 0 / 428.6 MB, free: 3.027 MB / 350.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.0006149/0.1488, allocations: 410.9 kB / 429 MB, free: 2.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1488, allocations: 15.97 kB / 429 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.1489, allocations: 12.84 kB / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1491, allocations: 216.1 kB / 429.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1492, allocations: 12.38 kB / 429.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.1492, allocations: 8.375 kB / 429.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.1496, allocations: 242.1 kB / 429.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1496, allocations: 192 / 429.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1497, allocations: 7.938 kB / 429.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1497, allocations: 8 kB / 429.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.1498, allocations: 43.97 kB / 429.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.15, allocations: 189.6 kB / 429.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.1502, allocations: 138.9 kB / 429.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1503, allocations: 80.84 kB / 430 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1504, allocations: 4 kB / 430 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1504, allocations: 34.5 kB / 430 MB, free: 1.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.1504, allocations: 7.938 kB / 430 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003297/0.1507, allocations: 180.8 kB / 430.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1508, allocations: 63.39 kB / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1509, allocations: 154.2 kB / 430.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.151, allocations: 33.7 kB / 430.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.151, allocations: 96.45 kB / 430.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.151, allocations: 11.95 kB / 430.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.1511, allocations: 45.64 kB / 430.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1512, allocations: 318.8 kB / 430.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.1513, allocations: 23.98 kB / 430.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1514, allocations: 121.7 kB / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1516, allocations: 149.5 kB / 431.2 MB, free: 136 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1516, allocations: 4 kB / 431.2 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000251/0.1518, allocations: 161.4 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1518, allocations: 8 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1518, allocations: 7.938 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1519, allocations: 4 kB / 431.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.152, allocations: 31.92 kB / 431.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.152, allocations: 4 kB / 431.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.1521, allocations: 20.33 kB / 431.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1521, allocations: 12 kB / 431.4 MB, free: 15.88 MB / 366.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.0001394/0.1522, allocations: 141.8 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.1524, allocations: 141.5 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.1525, allocations: 21.11 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1525, allocations: 4 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1525, allocations: 0 / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1525, allocations: 0 / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1526, allocations: 193.6 kB / 431.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1526, allocations: 8 kB / 431.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1527, allocations: 31.92 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1527, allocations: 0 / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1528, allocations: 3.938 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1528, allocations: 0 / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1528, allocations: 3.984 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.153, allocations: 162.8 kB / 432.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.1531, allocations: 108.8 kB / 432.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1531, allocations: 15.94 kB / 432.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.1531, allocations: 0 / 432.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-06/0.1531, allocations: 3.984 kB / 432.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.1531, allocations: 8 kB / 432.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.208e-05/0.1532, allocations: 123.9 kB / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1532, allocations: 0 / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1535, allocations: 19.94 kB / 432.4 MB, free: 14.8 MB / 366.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.000125/0.1536, allocations: 107.2 kB / 432.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1538, allocations: 95.83 kB / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1538, allocations: 3.938 kB / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-07/0.1538, allocations: 0 / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.1542, allocations: 90.06 kB / 432.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.1548, allocations: 268 kB / 433 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1552, allocations: 0.7162 MB / 433.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.1553, allocations: 5.094 kB / 433.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.1553, allocations: 15.44 kB / 433.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1553, allocations: 0 / 433.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004401/0.1597, allocations: 1.171 MB / 434.9 MB, free: 12.3 MB / 366.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: 5.012504333630204]