Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001105/0.001105, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001009/0.001009, allocations: 164 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9136/0.9136, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.274e-05, allocations: 2.312 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001848/0.00186, allocations: 0.939 MB / 275.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003029/0.002163, allocations: 140.1 kB / 275.3 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.002238, allocations: 7.938 kB / 275.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.087e-05/0.002329, allocations: 8.797 kB / 275.3 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.002411, allocations: 11.88 kB / 275.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.002595, allocations: 48.31 kB / 275.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.002701, allocations: 60.59 kB / 275.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.002806, allocations: 32.19 kB / 275.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.002856, allocations: 36.53 kB / 275.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.002888, allocations: 19.92 kB / 275.5 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.002911, allocations: 14.39 kB / 275.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.002922, allocations: 4 kB / 275.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.002983, allocations: 27.91 kB / 275.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.003014, allocations: 15.94 kB / 275.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003129, allocations: 59.73 kB / 275.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.003132, allocations: 3.984 kB / 275.6 MB, free: 3.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003133, allocations: 4 kB / 275.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.003137, allocations: 1.938 kB / 275.6 MB, free: 3.02 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.0003523/0.003489, allocations: 420.2 kB / 276 MB, free: 2.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.003523, allocations: 8.031 kB / 276 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.003563, allocations: 20.89 kB / 276 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.003737, allocations: 159.6 kB / 276.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.003749, allocations: 4.375 kB / 276.2 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.003762, allocations: 12.38 kB / 276.2 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.003986, allocations: 168.4 kB / 276.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.003995, allocations: 192 / 276.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.004003, allocations: 384 / 276.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.004011, allocations: 4.375 kB / 276.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.004041, allocations: 19.92 kB / 276.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.004149, allocations: 117.2 kB / 276.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.0043, allocations: 95.38 kB / 276.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.004359, allocations: 43.61 kB / 276.7 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.00437, allocations: 4 kB / 276.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.004395, allocations: 41.38 kB / 276.7 MB, free: 1.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 8.82e-07/0.004396, allocations: 0 / 276.7 MB, free: 1.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001749/0.004571, allocations: 116.3 kB / 276.8 MB, free: 1.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.004619, allocations: 67.39 kB / 276.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.004722, allocations: 193.8 kB / 277.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.004736, allocations: 33.7 kB / 277.1 MB, free: 1.359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.004785, allocations: 139.2 kB / 277.2 MB, free: 1.215 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.004795, allocations: 4 kB / 277.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.004832, allocations: 31.31 kB / 277.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.00496, allocations: 0.4883 MB / 277.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.004968, allocations: 4 kB / 277.8 MB, free: 0.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/0.004989, allocations: 23.36 kB / 277.8 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.00502, allocations: 31.3 kB / 277.8 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005021, allocations: 0 / 277.8 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.646e-05/0.005078, allocations: 45.7 kB / 277.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.005088, allocations: 4 kB / 277.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.005092, allocations: 0 / 277.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.0051, allocations: 0 / 277.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.089e-05/0.005111, allocations: 11.92 kB / 277.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.005114, allocations: 0 / 277.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.005129, allocations: 4 kB / 277.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.005134, allocations: 3.938 kB / 277.9 MB, free: 0.5234 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 0.0003468/0.005481, allocations: 156.6 kB / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.005567, allocations: 93.66 kB / 278.1 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.005602, allocations: 21.11 kB / 278.2 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.005605, allocations: 4 kB / 278.2 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005607, allocations: 0 / 278.2 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.00561, allocations: 0 / 278.2 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.614e-05/0.005686, allocations: 117.1 kB / 278.3 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005687, allocations: 0 / 278.3 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.005697, allocations: 7.938 kB / 278.3 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005699, allocations: 0 / 278.3 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.005706, allocations: 8 kB / 278.3 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.005708, allocations: 7.938 kB / 278.3 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005708, allocations: 4 kB / 278.3 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.868e-05/0.005767, allocations: 72.33 kB / 278.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.005805, allocations: 23.89 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.005823, allocations: 7.938 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.005841, allocations: 4 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.005843, allocations: 0 / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.005849, allocations: 4 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.279e-05/0.005902, allocations: 141 kB / 278.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.005902, allocations: 4 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.006073, allocations: 8 kB / 278.6 MB, free: 15.79 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 8.138e-05/0.006155, allocations: 111.2 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.458e-05/0.006239, allocations: 39.55 kB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006241, allocations: 0 / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.006242, allocations: 4 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.006509, allocations: 66.56 kB / 278.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.006751, allocations: 202.3 kB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.006796, allocations: 75.33 kB / 279 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.651e-05/0.006813, allocations: 4.484 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.006873, allocations: 82.33 kB / 279.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of SimCode: time 3.31e-07/0.006873, allocations: 0 / 279.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of Templates: time 0.002903/0.009776, allocations: 1.084 MB / 280.2 MB, free: 14.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6981933638453484]