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.0008703/0.0008703, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009963/0.0009963, allocations: 158.5 kB / 24.91 MB, free: 8.719 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.9818/0.9818, allocations: 177 MB / 205.2 MB, free: 5.02 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.463e-06/1.463e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.912e-05, allocations: 5.266 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002474/0.002503, allocations: 0.9943 MB / 274.4 MB, free: 12 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004499/0.002953, allocations: 135.4 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.00304, allocations: 4 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003159, allocations: 11.86 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.003272, allocations: 11.94 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.003514, allocations: 51.75 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.003648, allocations: 63.83 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.003769, allocations: 28.19 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.003833, allocations: 35.91 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.003879, allocations: 31.89 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.003904, allocations: 4 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.003919, allocations: 8 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.003991, allocations: 19.92 kB / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.004033, allocations: 27.91 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.004176, allocations: 59.69 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.00418, allocations: 0 / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004181, allocations: 0 / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.004186, allocations: 0 / 274.9 MB, free: 15.52 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.000344/0.00453, allocations: 296.5 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.00457, allocations: 11.98 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.004614, allocations: 20.92 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.004812, allocations: 141.5 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.004825, allocations: 8.375 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.004841, allocations: 12.38 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.00509, allocations: 154.8 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.0051, allocations: 192 / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.00511, allocations: 4.375 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.005117, allocations: 4.375 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.29e-05/0.00515, allocations: 23.86 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.075e-05/0.005231, allocations: 61 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.005368, allocations: 74.47 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.005425, allocations: 47.73 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.005437, allocations: 7.984 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.005462, allocations: 30.56 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.005463, allocations: 4 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001595/0.005622, allocations: 89.61 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.005676, allocations: 59.41 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.005771, allocations: 149.9 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.005789, allocations: 29.7 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.005821, allocations: 84.45 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.005834, allocations: 0 / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.005866, allocations: 33.64 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005971, allocations: 318.8 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.005981, allocations: 7.984 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.006, allocations: 21.7 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.151e-05/0.006032, allocations: 21.66 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006034, allocations: 0 / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.644e-05/0.006111, allocations: 45.62 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.006125, allocations: 4 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.006131, allocations: 0 / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.006147, allocations: 4 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.67e-05/0.006163, allocations: 0 / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006166, allocations: 64 / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.006185, allocations: 7.984 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.00619, allocations: 4 kB / 276.6 MB, free: 13.61 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.737e-05/0.006268, allocations: 124.5 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.006348, allocations: 73.61 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.006389, allocations: 17.12 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006391, allocations: 0 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.006393, allocations: 0 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.006398, allocations: 3.984 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.322e-05/0.006471, allocations: 81.81 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006472, allocations: 4 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.006491, allocations: 8 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006493, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.006499, allocations: 3.938 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006501, allocations: 0 / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006502, allocations: 0 / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.607e-05/0.006558, allocations: 77.02 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.006603, allocations: 15.91 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.006627, allocations: 7.984 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.006647, allocations: 0 / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-06/0.006651, allocations: 4 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.006659, allocations: 0 / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.599e-05/0.006685, allocations: 32.83 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006685, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.006836, allocations: 8 kB / 277.1 MB, free: 13.1 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 0.0001219/0.006957, allocations: 95.03 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.131e-05/0.007049, allocations: 40.72 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.007052, allocations: 0 / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.007052, allocations: 0 / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.007301, allocations: 77.94 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.007601, allocations: 204.4 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.007654, allocations: 75.89 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.866e-05/0.007672, allocations: 4.5 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.007744, allocations: 63.36 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.007745, allocations: 0 / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of Templates: time 0.003329/0.01107, allocations: 1.057 MB / 278.7 MB, free: 11.47 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 -s gbode -gbm=radauIIA3 -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.5677163880318403]