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.002167/0.002167, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00292/0.00292, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.807/1.807, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001727/0.001727, allocations: 51.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1632, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002627/0.1659, allocations: 0.8997 MB / 427.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000484/0.1663, allocations: 139.6 kB / 427.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.1664, allocations: 11.94 kB / 427.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.1666, allocations: 11.88 kB / 427.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1667, allocations: 15.86 kB / 427.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.167, allocations: 51.88 kB / 427.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1671, allocations: 67.77 kB / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.1673, allocations: 35.97 kB / 428 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.1673, allocations: 27.86 kB / 428.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.1674, allocations: 39.78 kB / 428.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.1674, allocations: 4 kB / 428.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.1675, allocations: 12 kB / 428.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.1675, allocations: 35.89 kB / 428.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.1676, allocations: 39.69 kB / 428.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1678, allocations: 99.5 kB / 428.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1678, allocations: 3.938 kB / 428.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1678, allocations: 0 / 428.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1678, allocations: 0 / 428.3 MB, free: 2.809 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.000633/0.1684, allocations: 410.9 kB / 428.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1685, allocations: 16.02 kB / 428.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.1685, allocations: 20.84 kB / 428.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1688, allocations: 212.1 kB / 428.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1689, allocations: 8.375 kB / 428.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1689, allocations: 4.375 kB / 428.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.1694, allocations: 248.9 kB / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1694, allocations: 192 / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1694, allocations: 3.938 kB / 429.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1694, allocations: 4 kB / 429.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.1695, allocations: 43.97 kB / 429.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.1697, allocations: 193.6 kB / 429.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.17, allocations: 146.9 kB / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1702, allocations: 82.88 kB / 429.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.1702, allocations: 0 / 429.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1702, allocations: 30.56 kB / 429.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1702, allocations: 0 / 429.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003632/0.1706, allocations: 181.7 kB / 429.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.1706, allocations: 67.41 kB / 429.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1708, allocations: 157 kB / 430.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1709, allocations: 33.7 kB / 430.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.1709, allocations: 92.45 kB / 430.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.171, allocations: 7.953 kB / 430.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.171, allocations: 45.64 kB / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1712, allocations: 326.8 kB / 430.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.1712, allocations: 23.98 kB / 430.6 MB, free: 284 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1713, allocations: 123.9 kB / 430.7 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.1715, allocations: 149.5 kB / 430.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1715, allocations: 4 kB / 430.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002409/0.1718, allocations: 157.3 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1718, allocations: 8 kB / 431 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1718, allocations: 7.938 kB / 431 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1718, allocations: 4.5 kB / 431 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.172, allocations: 35.92 kB / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.172, allocations: 4 kB / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.834e-05/0.172, allocations: 23.88 kB / 431.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.172, allocations: 8 kB / 431.1 MB, free: 15.66 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.0001658/0.1722, allocations: 141.8 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.1724, allocations: 135.6 kB / 431.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.1725, allocations: 21.11 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1725, allocations: 8 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1725, allocations: 3.938 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1725, allocations: 0 / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1727, allocations: 189.6 kB / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1727, allocations: 0 / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.1728, allocations: 31.98 kB / 431.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1728, allocations: 3.984 kB / 431.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1728, allocations: 3.938 kB / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1728, allocations: 0 / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1728, allocations: 4 kB / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1731, allocations: 172.9 kB / 431.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1732, allocations: 108.9 kB / 431.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1732, allocations: 11.94 kB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.1732, allocations: 3.984 kB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-06/0.1732, allocations: 3.938 kB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.1732, allocations: 4 kB / 431.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1733, allocations: 119.2 kB / 432.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1733, allocations: 0 / 432.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1736, allocations: 20 kB / 432.1 MB, free: 14.59 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.0001654/0.1738, allocations: 107.8 kB / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.174, allocations: 99.11 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.174, allocations: 4 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.174, allocations: 4.188 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.1745, allocations: 83.91 kB / 432.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.175, allocations: 258.1 kB / 432.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1754, allocations: 0.7162 MB / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.1754, allocations: 17.08 kB / 433.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.1755, allocations: 11.44 kB / 433.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1755, allocations: 0 / 433.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.004957/0.1804, allocations: 1.172 MB / 434.5 MB, free: 12.08 MB / 366.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/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_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: 5.617913790047169]