Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001038/0.001038, allocations: 82.17 kB / 21.42 MB, free: 3.078 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.0009773/0.0009773, allocations: 151.5 kB / 24.81 MB, free: 8.785 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.9992/0.9992, allocations: 173.3 MB / 201.4 MB, free: 9.223 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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.752e-05, allocations: 6.25 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.00152/0.001538, allocations: 1.039 MB / 269.5 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.001864, allocations: 147.4 kB / 269.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.00196, allocations: 4 kB / 269.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.002068, allocations: 15.86 kB / 269.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.711e-05/0.002165, allocations: 15.81 kB / 269.6 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.002355, allocations: 39.95 kB / 269.7 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.002464, allocations: 67.77 kB / 269.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.002559, allocations: 27.91 kB / 269.8 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.002605, allocations: 39.91 kB / 269.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.022e-05/0.002645, allocations: 23.89 kB / 269.8 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.002664, allocations: 8 kB / 269.8 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.002673, allocations: 7.938 kB / 269.8 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.002727, allocations: 23.92 kB / 269.9 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.002757, allocations: 19.92 kB / 269.9 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.002861, allocations: 67.73 kB / 270 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.002863, allocations: 0 / 270 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002863, allocations: 0 / 270 MB, free: 4.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.595e-06/0.002866, allocations: 0 / 270 MB, free: 4.652 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.0003213/0.003187, allocations: 436.1 kB / 270.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.003232, allocations: 8.031 kB / 270.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.003273, allocations: 24.84 kB / 270.4 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.003405, allocations: 152.9 kB / 270.6 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.003416, allocations: 12.36 kB / 270.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.003426, allocations: 8.375 kB / 270.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.003607, allocations: 164.4 kB / 270.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.003613, allocations: 192 / 270.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.00362, allocations: 8.062 kB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.003625, allocations: 4 kB / 270.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.003644, allocations: 8 kB / 270.8 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.777e-05/0.003732, allocations: 125.1 kB / 270.9 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.003852, allocations: 98.91 kB / 271 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.003895, allocations: 47.64 kB / 271 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.003904, allocations: 4 kB / 271 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.003922, allocations: 37.39 kB / 271.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.003923, allocations: 0 / 271.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002988/0.004222, allocations: 113.8 kB / 271.2 MB, free: 3.297 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.004263, allocations: 63.36 kB / 271.2 MB, free: 3.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.004343, allocations: 204.6 kB / 271.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.004352, allocations: 33.7 kB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.004391, allocations: 135.2 kB / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.004401, allocations: 0 / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.004426, allocations: 31.34 kB / 271.6 MB, free: 2.789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.004526, allocations: 492.1 kB / 272.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.004531, allocations: 4 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.004549, allocations: 27.34 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.004572, allocations: 23.31 kB / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004574, allocations: 0 / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.506e-05/0.004619, allocations: 53.66 kB / 272.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.004636, allocations: 11.98 kB / 272.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.00464, allocations: 0 / 272.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.00465, allocations: 3.938 kB / 272.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.004685, allocations: 11.94 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.004689, allocations: 7.938 kB / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.0047, allocations: 0 / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.004703, allocations: 0 / 272.3 MB, free: 2.133 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: 0 () * 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 6.731e-05/0.004771, allocations: 160.6 kB / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.004833, allocations: 93.53 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.004863, allocations: 25.17 kB / 272.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.004867, allocations: 7.938 kB / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004868, allocations: 0 / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.004871, allocations: 0 / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.869e-05/0.00493, allocations: 113.1 kB / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004931, allocations: 0 / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.004985, allocations: 35.92 kB / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004986, allocations: 0 / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004991, allocations: 0 / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004991, allocations: 0 / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.004992, allocations: 0 / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.028e-05/0.005033, allocations: 80.33 kB / 272.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.005064, allocations: 19.94 kB / 272.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.005081, allocations: 4 kB / 272.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.005094, allocations: 4 kB / 272.8 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-06/0.005096, allocations: 96 / 272.8 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.0051, allocations: 4 kB / 272.8 MB, free: 1.531 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.005151, allocations: 158 kB / 272.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005151, allocations: 0 / 272.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001154/0.005266, allocations: 12 kB / 273 MB, free: 1.367 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: 0 () * 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 6.447e-05/0.005331, allocations: 105.1 kB / 273.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.005396, allocations: 39.61 kB / 273.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.666e-06/0.005398, allocations: 7.938 kB / 273.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.005399, allocations: 0 / 273.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.005612, allocations: 55.88 kB / 273.2 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.005856, allocations: 222.5 kB / 273.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.005896, allocations: 75.33 kB / 273.5 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.238e-05/0.005909, allocations: 4.5 kB / 273.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.005965, allocations: 82.19 kB / 273.5 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.005966, allocations: 4.125 kB / 273.5 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of Templates: time 0.002334/0.0083, allocations: 1.033 MB / 274.6 MB, free: 15.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.4631028599105775]