Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.0009617/0.0009617, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002195, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007156/0.0007156, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009669/0.001682, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.024/1.024, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1179/1.142, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.697e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003289/0.003316, allocations: 1.74 MB / 246.5 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.004339, allocations: 0.5647 MB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.00444, allocations: 0 / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.959e-05/0.004529, allocations: 7.875 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.972e-05/0.004629, allocations: 15.86 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.004962, allocations: 71.67 kB / 247.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.005136, allocations: 63.72 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.005249, allocations: 8 kB / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.005434, allocations: 59.88 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.005504, allocations: 19.92 kB / 247.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.005524, allocations: 4 kB / 247.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.005589, allocations: 11.94 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.005643, allocations: 15.92 kB / 247.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.005674, allocations: 15.94 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.00583, allocations: 55.7 kB / 247.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.005846, allocations: 0 / 247.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.005848, allocations: 0 / 247.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.00586, allocations: 0 / 247.4 MB, free: 11.56 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.0006329/0.006493, allocations: 320.1 kB / 247.7 MB, free: 11.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.006545, allocations: 8.031 kB / 247.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.006838, allocations: 98.03 kB / 247.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.007099, allocations: 145.6 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.007111, allocations: 8.375 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.007129, allocations: 4.375 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.007402, allocations: 116.8 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.007414, allocations: 8.125 kB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.007424, allocations: 384 / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/0.007465, allocations: 7.922 kB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.007494, allocations: 10.83 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.008013, allocations: 254.9 kB / 248.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.974e-05/0.008112, allocations: 66.58 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.008144, allocations: 18.7 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.00816, allocations: 4 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.008192, allocations: 38.56 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.008195, allocations: 0 / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001999/0.008395, allocations: 69.42 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.008453, allocations: 106.8 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.008561, allocations: 153.2 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.008572, allocations: 25.7 kB / 248.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.008613, allocations: 84.14 kB / 248.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.00864, allocations: 16.25 kB / 248.9 MB, free: 9.812 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.008682, allocations: 21.7 kB / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.008778, allocations: 318.8 kB / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.008792, allocations: 0 / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.008813, allocations: 17.7 kB / 249.2 MB, free: 9.441 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.008854, allocations: 20.48 kB / 249.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.008857, allocations: 0 / 249.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.314e-05/0.00894, allocations: 41.62 kB / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.008962, allocations: 10.34 kB / 249.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.008969, allocations: 8.062 kB / 249.3 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.008986, allocations: 0 / 249.3 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.009069, allocations: 7.984 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.009074, allocations: 4 kB / 249.3 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.009107, allocations: 4 kB / 249.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.009114, allocations: 0 / 249.3 MB, free: 9.336 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 7.129e-05/0.009185, allocations: 112.7 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.009257, allocations: 37.69 kB / 249.5 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.009301, allocations: 19.89 kB / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.009317, allocations: 8.031 kB / 249.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.00932, allocations: 3.938 kB / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.009323, allocations: 0 / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.009494, allocations: 85.81 kB / 249.6 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.009498, allocations: 0 / 249.6 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.00954, allocations: 7.984 kB / 249.6 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.009578, allocations: 15.94 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.009582, allocations: 0 / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.009592, allocations: 7.984 kB / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.009595, allocations: 3.938 kB / 249.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.009597, allocations: 0 / 249.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.009734, allocations: 226.5 kB / 249.8 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.00975, allocations: 4 kB / 249.9 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.009849, allocations: 3.938 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.00989, allocations: 11.92 kB / 249.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.009895, allocations: 0 / 249.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.009939, allocations: 38.36 kB / 249.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009939, allocations: 0 / 249.9 MB, free: 8.703 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01015, allocations: 4 kB / 249.9 MB, free: 8.699 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 0.0001286/0.01028, allocations: 88.44 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.775e-05/0.01038, allocations: 12.86 kB / 250 MB, free: 8.586 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.01039, allocations: 0 / 250 MB, free: 8.586 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.01042, allocations: 16.78 kB / 250 MB, free: 8.566 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.01084, allocations: 120.5 kB / 250.1 MB, free: 8.426 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01188, allocations: 209.4 kB / 250.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.003e-05/0.01194, allocations: 67.34 kB / 250.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.819e-05/0.01197, allocations: 4 kB / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.01204, allocations: 63.3 kB / 250.5 MB, free: 8.031 MB / 250.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01205, allocations: 0 / 250.5 MB, free: 8.031 MB / 250.7 MB Notification: Performance of Templates: time 0.002955/0.015, allocations: 0.7623 MB / 251.2 MB, free: 7.297 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5836192639544606]