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.001388/0.001388, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00107/0.00107, allocations: 165.8 kB / 24.99 MB, free: 8.75 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.9999/0.9999, allocations: 177 MB / 205.2 MB, free: 5.602 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.703e-06/1.703e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.908e-05, allocations: 5.266 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001856/0.001885, allocations: 0.9196 MB / 273.9 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003611/0.002246, allocations: 155.4 kB / 274.1 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.002328, allocations: 3.938 kB / 274.1 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.002434, allocations: 11.86 kB / 274.1 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.002555, allocations: 11.94 kB / 274.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.002751, allocations: 63.73 kB / 274.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.002867, allocations: 55.84 kB / 274.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.002985, allocations: 31.97 kB / 274.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.003037, allocations: 35.89 kB / 274.3 MB, free: 488 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.003111, allocations: 31.89 kB / 274.3 MB, free: 456 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.003135, allocations: 11.94 kB / 274.3 MB, free: 444 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.003148, allocations: 4 kB / 274.3 MB, free: 440 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.003202, allocations: 31.91 kB / 274.4 MB, free: 408 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.003242, allocations: 23.92 kB / 274.4 MB, free: 384 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003372, allocations: 71.67 kB / 274.4 MB, free: 312 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003374, allocations: 4 kB / 274.5 MB, free: 308 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.003375, allocations: 0 / 274.5 MB, free: 308 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003379, allocations: 0 / 274.5 MB, free: 308 kB / 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.0004206/0.003799, allocations: 448 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.003836, allocations: 11.98 kB / 274.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.003885, allocations: 24.84 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.004069, allocations: 156.4 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.00408, allocations: 12.31 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.004094, allocations: 8.375 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.004374, allocations: 168.6 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.00438, allocations: 192 / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.00439, allocations: 8.375 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.004397, allocations: 384 / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.004444, allocations: 31.84 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.00456, allocations: 136.5 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.004732, allocations: 111.4 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.004807, allocations: 47.67 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.004815, allocations: 4 kB / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.004838, allocations: 41.39 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.004839, allocations: 0 / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002141/0.005053, allocations: 124.8 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.0051, allocations: 63.34 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.005223, allocations: 215.2 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.005236, allocations: 33.7 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.005286, allocations: 135.2 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.005302, allocations: 15.94 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.005337, allocations: 27.38 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.005468, allocations: 0.4884 MB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.005481, allocations: 4 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.005503, allocations: 19.38 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.005536, allocations: 31.3 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005538, allocations: 0 / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.345e-05/0.005612, allocations: 57.59 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.005625, allocations: 8.062 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005628, allocations: 0 / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.00564, allocations: 0 / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.005691, allocations: 11.98 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.005697, allocations: 3.938 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.005714, allocations: 3.938 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.005718, allocations: 0 / 276.9 MB, free: 13.66 MB / 266.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.835e-05/0.005787, allocations: 160.6 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.005928, allocations: 101.6 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.005968, allocations: 21.11 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.00597, allocations: 4 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.005973, allocations: 0 / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.005977, allocations: 3.938 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.303e-05/0.00606, allocations: 144.5 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006061, allocations: 0 / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.006153, allocations: 27.92 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.006157, allocations: 4 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006164, allocations: 0 / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.006171, allocations: 0 / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006172, allocations: 0 / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.00632, allocations: 155.4 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.006371, allocations: 31.89 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.006393, allocations: 0 / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.006417, allocations: 8 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/0.00642, allocations: 0 / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.006427, allocations: 11.92 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.537e-05/0.006493, allocations: 148.8 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006493, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.006668, allocations: 15.94 kB / 277.7 MB, free: 12.77 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 9.449e-05/0.006763, allocations: 119.1 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.006866, allocations: 43.61 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006867, allocations: 0 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.006869, allocations: 3.938 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.007175, allocations: 63.88 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.007536, allocations: 230.6 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.007581, allocations: 75.33 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.718e-05/0.007598, allocations: 8.469 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.007626, allocations: 16.62 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.007627, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.003063/0.01069, allocations: 1.153 MB / 279.4 MB, free: 11.03 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.7994757269043475]