Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8963/0.8963, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.276e-05, allocations: 9.266 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001752/0.001764, allocations: 0.929 MB / 270.1 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.002088, allocations: 147.4 kB / 270.3 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.002168, allocations: 7.938 kB / 270.3 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.002272, allocations: 11.86 kB / 270.3 MB, free: 8.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.527e-05/0.002357, allocations: 3.938 kB / 270.3 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.00255, allocations: 43.88 kB / 270.3 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.00266, allocations: 64.69 kB / 270.4 MB, free: 8.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.002769, allocations: 28.14 kB / 270.4 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.002818, allocations: 37.53 kB / 270.5 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.475e-05/0.002853, allocations: 23.91 kB / 270.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.002874, allocations: 7.984 kB / 270.5 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.002889, allocations: 8 kB / 270.5 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.002955, allocations: 23.92 kB / 270.5 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.002988, allocations: 20.58 kB / 270.6 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.00311, allocations: 59.8 kB / 270.6 MB, free: 8.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003112, allocations: 0.5312 kB / 270.6 MB, free: 8.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003112, allocations: 0.7188 kB / 270.6 MB, free: 8.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.003116, allocations: 0 / 270.6 MB, free: 8.391 MB / 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.0003425/0.003459, allocations: 428.7 kB / 271 MB, free: 7.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.003491, allocations: 13.56 kB / 271 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.003532, allocations: 20.89 kB / 271.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.003696, allocations: 148.4 kB / 271.2 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.003708, allocations: 10.16 kB / 271.2 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003718, allocations: 4.375 kB / 271.2 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.003933, allocations: 178.8 kB / 271.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.00394, allocations: 192 / 271.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.003951, allocations: 4.359 kB / 271.4 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.003957, allocations: 4.375 kB / 271.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.905e-05/0.003986, allocations: 19.92 kB / 271.4 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.338e-05/0.004079, allocations: 109.2 kB / 271.5 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.004214, allocations: 96.3 kB / 271.6 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.004267, allocations: 46.98 kB / 271.7 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.004275, allocations: 4.531 kB / 271.7 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.004297, allocations: 38.08 kB / 271.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.004298, allocations: 0 / 271.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001761/0.004474, allocations: 114 kB / 271.8 MB, free: 7.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.004521, allocations: 75.38 kB / 271.9 MB, free: 6.969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.004861, allocations: 196 kB / 272.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.004873, allocations: 25.7 kB / 272.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.004915, allocations: 139.2 kB / 272.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.004926, allocations: 3.984 kB / 272.3 MB, free: 6.582 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.004962, allocations: 27.36 kB / 272.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.005077, allocations: 0.4961 MB / 272.8 MB, free: 6.039 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-06/0.005085, allocations: 4 kB / 272.8 MB, free: 6.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.005105, allocations: 23.36 kB / 272.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.005137, allocations: 27.31 kB / 272.8 MB, free: 5.969 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005139, allocations: 0 / 272.8 MB, free: 5.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.816e-05/0.005197, allocations: 53.64 kB / 272.9 MB, free: 5.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.005206, allocations: 7.938 kB / 272.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005211, allocations: 0 / 272.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.005219, allocations: 4 kB / 272.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-05/0.005229, allocations: 0 / 272.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005232, allocations: 0 / 272.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.005247, allocations: 0 / 272.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.005258, allocations: 7.938 kB / 272.9 MB, free: 5.891 MB / 250.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.565e-05/0.005333, allocations: 164.6 kB / 273.1 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.592e-05/0.005419, allocations: 89.59 kB / 273.2 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.005455, allocations: 17.12 kB / 273.2 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.005457, allocations: 0 / 273.2 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005458, allocations: 0 / 273.2 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.005462, allocations: 3.984 kB / 273.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.852e-05/0.005541, allocations: 125 kB / 273.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005542, allocations: 0 / 273.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-06/0.005552, allocations: 0 / 273.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005554, allocations: 0 / 273.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.00556, allocations: 8 kB / 273.3 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005562, allocations: 4 kB / 273.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.005564, allocations: 4 kB / 273.3 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.932e-05/0.005613, allocations: 80.27 kB / 273.4 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.005651, allocations: 19.94 kB / 273.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.00567, allocations: 4 kB / 273.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.005686, allocations: 0 / 273.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.005688, allocations: 0 / 273.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.005694, allocations: 4 kB / 273.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.005747, allocations: 145.8 kB / 273.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005747, allocations: 0 / 273.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.005924, allocations: 8 kB / 273.6 MB, free: 5.164 MB / 250.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 8.819e-05/0.006013, allocations: 120.4 kB / 273.7 MB, free: 5.043 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.576e-05/0.006098, allocations: 47.48 kB / 273.7 MB, free: 4.992 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006099, allocations: 0 / 273.7 MB, free: 4.992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.0061, allocations: 0 / 273.7 MB, free: 4.992 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.006378, allocations: 67.7 kB / 273.8 MB, free: 4.926 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.006624, allocations: 210.1 kB / 274 MB, free: 4.688 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.006665, allocations: 71.45 kB / 274.1 MB, free: 4.598 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.458e-05/0.00668, allocations: 12.48 kB / 274.1 MB, free: 4.586 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.006738, allocations: 82.2 kB / 274.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of SimCode: time 4.6e-07/0.006739, allocations: 0 / 274.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of Templates: time 0.002839/0.009578, allocations: 1.076 MB / 275.2 MB, free: 3.449 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6191799617372453]