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.001868/0.001868, allocations: 92.31 kB / 20.96 MB, free: 3.48 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.001655/0.001655, allocations: 165.6 kB / 24.26 MB, free: 180 kB / 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 1.458/1.458, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|assignClock1.y.2.",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.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.28e-06, allocations: 4 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.935e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002184/0.002213, allocations: 0.9231 MB / 273.2 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004006/0.002614, allocations: 131.5 kB / 273.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.002689, allocations: 7.938 kB / 273.4 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.002809, allocations: 11.86 kB / 273.4 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.36e-05/0.002902, allocations: 7.938 kB / 273.4 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.003109, allocations: 47.81 kB / 273.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.00323, allocations: 67.83 kB / 273.5 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.003348, allocations: 28.14 kB / 273.5 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.003415, allocations: 43.89 kB / 273.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.083e-05/0.003456, allocations: 19.91 kB / 273.6 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.003478, allocations: 4 kB / 273.6 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.003491, allocations: 8 kB / 273.6 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.003563, allocations: 27.91 kB / 273.6 MB, free: 492 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.003611, allocations: 19.92 kB / 273.7 MB, free: 472 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.003763, allocations: 83.69 kB / 273.7 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003765, allocations: 0 / 273.7 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003766, allocations: 0 / 273.7 MB, free: 388 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.003772, allocations: 7.984 kB / 273.8 MB, free: 380 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.000457/0.004229, allocations: 313.9 kB / 274.1 MB, free: 32 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.004264, allocations: 8.031 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.004324, allocations: 24.88 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.0046, allocations: 141.6 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.004617, allocations: 8.375 kB / 274.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.004634, allocations: 8.375 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.005079, allocations: 222.8 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.005088, allocations: 192 / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.005101, allocations: 4.375 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005106, allocations: 384 / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.005185, allocations: 35.92 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.005338, allocations: 125.2 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.005569, allocations: 118.7 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.005695, allocations: 80.98 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.00571, allocations: 4 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.005985, allocations: 30.56 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.005986, allocations: 0 / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003166/0.006303, allocations: 157.5 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.006373, allocations: 63.39 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.006522, allocations: 147 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.006545, allocations: 33.7 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.006604, allocations: 84.45 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.006616, allocations: 4 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.006655, allocations: 25.67 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.006831, allocations: 322.8 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.006846, allocations: 4 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.006869, allocations: 17.72 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.247e-05/0.006911, allocations: 25.64 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.006913, allocations: 4 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.411e-05/0.006997, allocations: 53.64 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.007009, allocations: 4 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.007013, allocations: 64 / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007026, allocations: 4 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.198e-05/0.007038, allocations: 4 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.007047, allocations: 7.922 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.007064, allocations: 0 / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.007075, allocations: 7.984 kB / 275.8 MB, free: 14.13 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 0.0001104/0.007185, allocations: 125.8 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.007364, allocations: 125.3 kB / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.007414, allocations: 25.11 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.007418, allocations: 4 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.007422, allocations: 4 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.007427, allocations: 3.938 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.007533, allocations: 117.2 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007534, allocations: 0 / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.007559, allocations: 11.98 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007561, allocations: 0 / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.007568, allocations: 3.938 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.007569, allocations: 0 / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00757, allocations: 4 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.007786, allocations: 153 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.007843, allocations: 31.86 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.007866, allocations: 11.98 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.007886, allocations: 0 / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-06/0.007888, allocations: 0 / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.007899, allocations: 8 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.395e-05/0.007982, allocations: 106.5 kB / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007983, allocations: 0 / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.008171, allocations: 15.94 kB / 276.5 MB, free: 13.34 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.0001248/0.008296, allocations: 107.2 kB / 276.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.00843, allocations: 51.92 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008432, allocations: 0 / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-07/0.008432, allocations: 0 / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.008814, allocations: 83.75 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.00922, allocations: 232.5 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.009324, allocations: 96.3 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.408e-05/0.009338, allocations: 0.5 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.009373, allocations: 16.5 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009373, allocations: 4.125 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Templates: time 0.003632/0.01301, allocations: 1.002 MB / 278.1 MB, free: 11.72 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.270997731946409]