Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0009132/0.0009132, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002369, 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.0007728/0.0007728, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001794, 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.031/1.031, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1244/1.156, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.311e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002913/0.002946, allocations: 1.661 MB / 246.4 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003178/0.003264, allocations: 152.1 kB / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003364, allocations: 4 kB / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.271e-05/0.003446, allocations: 11.88 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.003518, allocations: 11.86 kB / 246.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.003715, allocations: 35.89 kB / 246.6 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.003845, allocations: 39.86 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.003951, allocations: 11.94 kB / 246.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.004025, allocations: 31.95 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.004086, allocations: 19.92 kB / 246.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.004112, allocations: 4 kB / 246.7 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.004126, allocations: 4 kB / 246.7 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.004192, allocations: 15.94 kB / 246.7 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.004223, allocations: 11.94 kB / 246.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.004349, allocations: 39.78 kB / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.556e-05/0.004364, allocations: 0 / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.004366, allocations: 0 / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.004378, allocations: 0 / 246.7 MB, free: 12.19 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.0005126/0.004891, allocations: 288.3 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.004928, allocations: 15.91 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.004969, allocations: 12.94 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.005177, allocations: 141.6 kB / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.005187, allocations: 4.359 kB / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.005201, allocations: 4.375 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.005422, allocations: 112.8 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005431, allocations: 4.188 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.005439, allocations: 384 / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.005476, allocations: 4.375 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.417e-05/0.0055, allocations: 26.69 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.005799, allocations: 247 kB / 247.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.005892, allocations: 58.59 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.005922, allocations: 22.69 kB / 247.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.005933, allocations: 7.938 kB / 247.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.00596, allocations: 38.56 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.005962, allocations: 0 / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001587/0.00612, allocations: 57.56 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.006184, allocations: 110.8 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.801e-05/0.006282, allocations: 142.6 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.006297, allocations: 25.7 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.006341, allocations: 88.12 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.006356, allocations: 3.984 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.00639, allocations: 17.67 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.006491, allocations: 322.8 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.006499, allocations: 384 / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.006517, allocations: 17.72 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.006547, allocations: 16.55 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.006549, allocations: 3.938 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.674e-05/0.006616, allocations: 45.62 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.006637, allocations: 8 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.006643, allocations: 0 / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.006657, allocations: 3.938 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.00672, allocations: 4 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.006724, allocations: 8.125 kB / 248.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.006741, allocations: 3.984 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.006746, allocations: 0 / 248.6 MB, free: 10.12 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: 2 (sample1.u[2],sample1.u[1]) * 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 0.0001306/0.006877, allocations: 120.5 kB / 248.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.006924, allocations: 37.69 kB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.006954, allocations: 11.97 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.006973, allocations: 3.938 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.006976, allocations: 4 kB / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.00698, allocations: 0 / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.007099, allocations: 77.91 kB / 248.8 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.007103, allocations: 4 kB / 248.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.007123, allocations: 7.984 kB / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.007154, allocations: 7.953 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007155, allocations: 4 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.007161, allocations: 4 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.007163, allocations: 0 / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.007166, allocations: 11.88 kB / 248.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.00727, allocations: 218.5 kB / 249.1 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.007281, allocations: 0 / 249.1 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.007333, allocations: 12.02 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.007368, allocations: 3.938 kB / 249.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.007373, allocations: 0 / 249.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.032e-05/0.007403, allocations: 35.92 kB / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007403, allocations: 0 / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.00755, allocations: 4 kB / 249.1 MB, free: 9.512 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0001094/0.007659, allocations: 88.34 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.007743, allocations: 20.78 kB / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.007749, allocations: 8.188 kB / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.007765, allocations: 8.859 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.008067, allocations: 108.5 kB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.008845, allocations: 192 kB / 249.5 MB, free: 9.023 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.67e-05/0.008902, allocations: 63.34 kB / 249.6 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.36e-05/0.008925, allocations: 0 / 249.6 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.008987, allocations: 55.38 kB / 249.7 MB, free: 8.887 MB / 250.7 MB Notification: Performance of SimCode: time 1.433e-06/0.008989, allocations: 4.312 kB / 249.7 MB, free: 8.883 MB / 250.7 MB Notification: Performance of Templates: time 0.002905/0.01189, allocations: 0.6841 MB / 250.3 MB, free: 8.223 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.690599961206317]