Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.0008284/0.0008284, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.00206, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001187/0.001187, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009957/0.002182, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9038/0.9038, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08272/0.9865, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.22e-05, allocations: 5.406 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001843/0.001855, allocations: 1.724 MB / 246.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006072/0.002463, allocations: 0.5647 MB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.002527, allocations: 4 kB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.005e-05/0.002577, allocations: 7.875 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.458e-05/0.002631, allocations: 19.84 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.002812, allocations: 67.67 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.002916, allocations: 63.73 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.003, allocations: 15.97 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.003121, allocations: 47.91 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.003177, allocations: 27.89 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.003196, allocations: 4 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-05/0.003252, allocations: 7.938 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.003299, allocations: 19.94 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.003325, allocations: 11.94 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.003448, allocations: 59.7 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.003459, allocations: 0 / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00346, allocations: 4 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.003469, allocations: 0 / 247.9 MB, free: 10.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004297/0.003898, allocations: 308.1 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.003933, allocations: 12.03 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.004098, allocations: 102 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.004254, allocations: 146.3 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.004261, allocations: 384 / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.004271, allocations: 8.312 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.004436, allocations: 124.8 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.004442, allocations: 192 / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.004449, allocations: 4.375 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.004474, allocations: 7.938 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.004492, allocations: 6.828 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.004683, allocations: 258.9 kB / 248.8 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.359e-05/0.004736, allocations: 66.61 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.004755, allocations: 18.64 kB / 248.9 MB, free: 9.711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.004766, allocations: 7.984 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.004786, allocations: 42.48 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.004787, allocations: 0 / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001148/0.004901, allocations: 57.5 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.004944, allocations: 102.8 kB / 249.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.005013, allocations: 154.6 kB / 249.3 MB, free: 9.301 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.005023, allocations: 26.08 kB / 249.3 MB, free: 9.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.005049, allocations: 92.12 kB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.005065, allocations: 11.88 kB / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.005088, allocations: 13.72 kB / 249.4 MB, free: 9.145 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.005155, allocations: 326.8 kB / 249.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.005165, allocations: 4 kB / 249.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.005181, allocations: 13.72 kB / 249.7 MB, free: 8.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.005207, allocations: 20.48 kB / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005209, allocations: 0 / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.228e-05/0.005251, allocations: 49.69 kB / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.005261, allocations: 4 kB / 249.8 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005266, allocations: 3.938 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.005277, allocations: 0 / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.005326, allocations: 11.98 kB / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.005329, allocations: 0 / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.005348, allocations: 4 kB / 249.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.005354, allocations: 3.984 kB / 249.8 MB, free: 8.684 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.668e-05/0.0054, allocations: 112.7 kB / 249.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.005438, allocations: 45.69 kB / 250 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.005461, allocations: 15.91 kB / 250 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.005471, allocations: 4 kB / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.005473, allocations: 0 / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005475, allocations: 0 / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.005585, allocations: 81.83 kB / 250.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.005587, allocations: 0 / 250.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.005609, allocations: 11.98 kB / 250.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.005636, allocations: 19.94 kB / 250.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005638, allocations: 0 / 250.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.005641, allocations: 4.031 kB / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.005643, allocations: 3.938 kB / 250.1 MB, free: 8.355 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.005646, allocations: 7.984 kB / 250.1 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.004e-05/0.005736, allocations: 222.4 kB / 250.3 MB, free: 8.109 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.005747, allocations: 0 / 250.3 MB, free: 8.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.005798, allocations: 7.984 kB / 250.4 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.005831, allocations: 7.938 kB / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.005837, allocations: 7.984 kB / 250.4 MB, free: 8.086 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.005864, allocations: 32.81 kB / 250.4 MB, free: 8.051 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005864, allocations: 0 / 250.4 MB, free: 8.051 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.005999, allocations: 12.03 kB / 250.4 MB, free: 8.039 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.934e-05/0.006069, allocations: 76.42 kB / 250.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.645e-05/0.006145, allocations: 24.78 kB / 250.5 MB, free: 7.926 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.00615, allocations: 0 / 250.5 MB, free: 7.926 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.091e-05/0.006171, allocations: 12.86 kB / 250.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.006439, allocations: 108.5 kB / 250.6 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.00714, allocations: 221.4 kB / 250.8 MB, free: 7.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.007177, allocations: 67.27 kB / 250.9 MB, free: 7.441 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.0072, allocations: 7.984 kB / 250.9 MB, free: 7.434 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.00725, allocations: 55.38 kB / 251 MB, free: 7.379 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007251, allocations: 0 / 251 MB, free: 7.379 MB / 250.7 MB Notification: Performance of Templates: time 0.002016/0.009266, allocations: 0.7617 MB / 251.7 MB, free: 6.641 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3763452041894197]