Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009526/0.0009526, 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.0009695/0.0009695, allocations: 156.4 kB / 24.98 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.9717/0.9717, allocations: 177 MB / 205.2 MB, free: 5.59 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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.588e-05, allocations: 5.266 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001686/0.001712, allocations: 0.9391 MB / 273.9 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003328/0.002044, allocations: 143.4 kB / 274.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.00213, allocations: 7.938 kB / 274.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.002232, allocations: 7.938 kB / 274.1 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.002324, allocations: 11.92 kB / 274.1 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.002527, allocations: 43.83 kB / 274.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.002638, allocations: 63.83 kB / 274.2 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.002758, allocations: 28.19 kB / 274.2 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.002811, allocations: 39.91 kB / 274.3 MB, free: 476 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.002843, allocations: 19.91 kB / 274.3 MB, free: 456 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.002866, allocations: 4 kB / 274.3 MB, free: 452 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.002877, allocations: 8 kB / 274.3 MB, free: 444 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.002947, allocations: 27.91 kB / 274.3 MB, free: 416 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.002986, allocations: 23.86 kB / 274.4 MB, free: 392 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.003106, allocations: 63.73 kB / 274.4 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003109, allocations: 0 / 274.4 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.00311, allocations: 0 / 274.4 MB, free: 328 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003114, allocations: 0 / 274.4 MB, free: 328 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.0003897/0.003504, allocations: 424.1 kB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.003542, allocations: 11.98 kB / 274.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.003593, allocations: 24.83 kB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.003778, allocations: 148.4 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.00379, allocations: 4.375 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.003803, allocations: 12.38 kB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.004083, allocations: 173.5 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.004092, allocations: 192 / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.004106, allocations: 12.31 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.004115, allocations: 4.359 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.004158, allocations: 27.92 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.004282, allocations: 140.6 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.004458, allocations: 107 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.004525, allocations: 52.03 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.004534, allocations: 4 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.004556, allocations: 33.39 kB / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.004557, allocations: 0 / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002135/0.00477, allocations: 128.5 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.004827, allocations: 59.41 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.004936, allocations: 209.8 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.004946, allocations: 29.7 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.004987, allocations: 131.2 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.005001, allocations: 7.984 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.005032, allocations: 31.33 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.00514, allocations: 0.4884 MB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.005151, allocations: 3.938 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.005172, allocations: 23.38 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.005203, allocations: 23.38 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005204, allocations: 3.938 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.465e-05/0.005269, allocations: 53.69 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.005283, allocations: 4 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005288, allocations: 0 / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.005302, allocations: 4 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.276e-05/0.005315, allocations: 0 / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.00532, allocations: 3.938 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.199e-05/0.005332, allocations: 3.938 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.005337, allocations: 4 kB / 276.8 MB, free: 13.74 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.346e-05/0.005411, allocations: 160.6 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.0055, allocations: 105.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.005539, allocations: 17.12 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.005541, allocations: 0 / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.005544, allocations: 0 / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.00555, allocations: 7.922 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.723e-05/0.005617, allocations: 132.6 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.005618, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/0.005629, allocations: 7.938 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.005632, allocations: 3.984 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.005642, allocations: 4 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005643, allocations: 0 / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.005643, allocations: 4 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.005774, allocations: 151.4 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.005815, allocations: 19.94 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.00584, allocations: 8 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.516e-05/0.005856, allocations: 4 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-06/0.005858, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.005864, allocations: 4 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.005917, allocations: 146 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005918, allocations: 3.938 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.006042, allocations: 8 kB / 277.5 MB, free: 12.9 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.985e-05/0.006142, allocations: 119.2 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.006253, allocations: 47.59 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.006254, allocations: 3.938 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.006255, allocations: 3.938 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.006528, allocations: 59.89 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.006793, allocations: 218.1 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.006836, allocations: 79.89 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.784e-05/0.006854, allocations: 8.609 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.006879, allocations: 12.5 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.00688, allocations: 0 / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.002671/0.009551, allocations: 0.9931 MB / 279.1 MB, free: 11.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.830993297044188]