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.001147/0.001147, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009467/0.0009467, allocations: 166.1 kB / 24.82 MB, free: 9.258 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.9812/0.9812, allocations: 177 MB / 205.1 MB, free: 5.484 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.373e-06/1.373e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.196e-05, allocations: 5.266 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.004947/0.004968, allocations: 0.9274 MB / 274.3 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006346/0.005603, allocations: 155.4 kB / 274.4 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.051e-05/0.005694, allocations: 4 kB / 274.4 MB, free: 160 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.005803, allocations: 11.86 kB / 274.4 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.005931, allocations: 15.86 kB / 274.4 MB, free: 132 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.006134, allocations: 47.83 kB / 274.5 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.006257, allocations: 59.84 kB / 274.5 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.006391, allocations: 43.88 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.006461, allocations: 35.91 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.006547, allocations: 31.89 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.006569, allocations: 7.938 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.006584, allocations: 8 kB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.006634, allocations: 23.92 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.006673, allocations: 31.91 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.006795, allocations: 59.75 kB / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.006797, allocations: 0 / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.0068, allocations: 4 kB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.006803, allocations: 4 kB / 274.8 MB, free: 15.78 MB / 266.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.0003753/0.007178, allocations: 444 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.007214, allocations: 11.98 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.007253, allocations: 24.83 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.01043, allocations: 153.9 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.01044, allocations: 8.375 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.01045, allocations: 12.38 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.01067, allocations: 160.7 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.01068, allocations: 192 / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.01069, allocations: 8.375 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.0107, allocations: 4.359 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.731e-05/0.01072, allocations: 15.94 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.01083, allocations: 121.1 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.01097, allocations: 95.39 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.01103, allocations: 50.59 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.01104, allocations: 8 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.01106, allocations: 33.39 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.01106, allocations: 0 / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001681/0.01123, allocations: 109.8 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.01127, allocations: 63.41 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.01138, allocations: 211 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.0114, allocations: 29.7 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.01145, allocations: 143.2 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.01146, allocations: 7.953 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.01149, allocations: 27.3 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01161, allocations: 0.5039 MB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.01162, allocations: 4 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.01164, allocations: 23.36 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.01166, allocations: 23.31 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01167, allocations: 0 / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.825e-05/0.01173, allocations: 57.59 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.01174, allocations: 4 kB / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01175, allocations: 0 / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.01176, allocations: 12.05 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.696e-05/0.0118, allocations: 4 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.0118, allocations: 0 / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.01182, allocations: 4 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.01182, allocations: 3.938 kB / 277.1 MB, free: 13.22 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 7.276e-05/0.0119, allocations: 160.6 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.01198, allocations: 89.53 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.01202, allocations: 25.11 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01203, allocations: 4 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.01203, allocations: 0 / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01203, allocations: 4 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.754e-05/0.01211, allocations: 113.1 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.01211, allocations: 4 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.01219, allocations: 27.98 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01219, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.01219, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.0122, allocations: 4 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.0122, allocations: 3.984 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.69e-05/0.01226, allocations: 72.28 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.0123, allocations: 35.77 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.01232, allocations: 4 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.656e-05/0.01234, allocations: 4 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-06/0.01234, allocations: 0 / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01234, allocations: 8 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.0124, allocations: 148.8 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0124, allocations: 0 / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01258, allocations: 12 kB / 277.8 MB, free: 12.45 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 8.964e-05/0.01267, allocations: 114.5 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.965e-05/0.01275, allocations: 43.61 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01275, allocations: 0 / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.01275, allocations: 0 / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.01302, allocations: 63.75 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.01631, allocations: 230.5 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.679e-05/0.01635, allocations: 79.33 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.01637, allocations: 4.5 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.01644, allocations: 86.19 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01644, allocations: 0 / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Templates: time 0.005948/0.02239, allocations: 1.209 MB / 279.6 MB, free: 10.6 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.7902079201303422]