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.001355/0.001355, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001578/0.001578, allocations: 164.8 kB / 23.96 MB, free: 4.164 MB / 14.72 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.514/1.514, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.594e-05, allocations: 3.781 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002702/0.002728, allocations: 1.639 MB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003804, allocations: 0.5208 MB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.003887, allocations: 6.156 kB / 327.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.003993, allocations: 6.703 kB / 327.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.00411, allocations: 24.8 kB / 327.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.004432, allocations: 65.08 kB / 327.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.004576, allocations: 71.12 kB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004682, allocations: 11.5 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.004832, allocations: 44.34 kB / 327.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.004901, allocations: 20.81 kB / 327.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.004923, allocations: 4.188 kB / 327.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.394e-05/0.004967, allocations: 10.5 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.005028, allocations: 17.3 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.005068, allocations: 17.47 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.00524, allocations: 75.36 kB / 327.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.005244, allocations: 4.938 kB / 327.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005245, allocations: 0 / 327.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.00525, allocations: 0 / 327.6 MB, free: 14.9 MB / 302.1 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.0005732/0.005823, allocations: 323.7 kB / 327.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.005857, allocations: 9.594 kB / 327.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.006089, allocations: 27.64 kB / 328 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.006329, allocations: 157.3 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.006341, allocations: 6.125 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.006356, allocations: 3.031 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.006676, allocations: 126.4 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.006686, allocations: 192 / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.006698, allocations: 1.75 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.006724, allocations: 7.047 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.006889, allocations: 43.34 kB / 328.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.007345, allocations: 316.1 kB / 328.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.00752, allocations: 87.53 kB / 328.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.007613, allocations: 37.59 kB / 328.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.007631, allocations: 1.406 kB / 328.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.007672, allocations: 42 kB / 328.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.007673, allocations: 0 / 328.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003902/0.008063, allocations: 120.9 kB / 328.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.008136, allocations: 108 kB / 329 MB, free: 13.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.008286, allocations: 160.2 kB / 329.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.008307, allocations: 25.7 kB / 329.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.008368, allocations: 96.86 kB / 329.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.008392, allocations: 11.58 kB / 329.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.008431, allocations: 13 kB / 329.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.008581, allocations: 319.5 kB / 329.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.008655, allocations: 21.08 kB / 329.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.008731, allocations: 27.55 kB / 329.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.008875, allocations: 41.41 kB / 329.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008876, allocations: 1.062 kB / 329.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.00907, allocations: 83.75 kB / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.009083, allocations: 6.203 kB / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.009092, allocations: 5.094 kB / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.009106, allocations: 1.406 kB / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.009192, allocations: 8.453 kB / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.009197, allocations: 1.094 kB / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.00925, allocations: 5.5 kB / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.009259, allocations: 1.953 kB / 329.8 MB, free: 12.99 MB / 302.1 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 9.977e-05/0.009358, allocations: 121.9 kB / 329.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.009461, allocations: 64.06 kB / 330 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.009492, allocations: 14.05 kB / 330 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.009508, allocations: 7.547 kB / 330 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.009512, allocations: 0.9688 kB / 330 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.009516, allocations: 1.875 kB / 330 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.009726, allocations: 125.9 kB / 330.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.009729, allocations: 1.281 kB / 330.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.009789, allocations: 8.875 kB / 330.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.009792, allocations: 1.375 kB / 330.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.009804, allocations: 9.719 kB / 330.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.009807, allocations: 2.016 kB / 330.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.00981, allocations: 3.984 kB / 330.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.01012, allocations: 274.6 kB / 330.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.01017, allocations: 13.88 kB / 330.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.01019, allocations: 6.781 kB / 330.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.01031, allocations: 4.547 kB / 330.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.01036, allocations: 7.672 kB / 330.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.01036, allocations: 1.734 kB / 330.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.531e-05/0.01046, allocations: 119.5 kB / 330.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01046, allocations: 0 / 330.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.01074, allocations: 6.719 kB / 330.6 MB, free: 12.33 MB / 302.1 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.0001148/0.01085, allocations: 104.9 kB / 330.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.01106, allocations: 48.11 kB / 330.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01106, allocations: 0 / 330.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.01114, allocations: 24.72 kB / 330.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.01158, allocations: 23.67 kB / 330.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.01201, allocations: 213.2 kB / 331 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.01211, allocations: 83.27 kB / 331.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.01216, allocations: 8.953 kB / 331.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.0122, allocations: 14.66 kB / 331.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.0122, allocations: 5.75 kB / 331.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Templates: time 0.003672/0.01587, allocations: 0.7148 MB / 331.8 MB, free: 11.74 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.3910567201673985]