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.001489/0.001489, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001011/0.001011, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9553/0.9553, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.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.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.587e-05, allocations: 6.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002748/0.002774, allocations: 1.669 MB / 274.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.003681, allocations: 0.5531 MB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.003763, allocations: 7.875 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.003867, allocations: 3.938 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.003978, allocations: 15.86 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.004265, allocations: 63.75 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.004375, allocations: 63.7 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.004488, allocations: 19.98 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.004614, allocations: 51.83 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.004666, allocations: 15.92 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.004685, allocations: 4 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.004729, allocations: 19.92 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.004776, allocations: 11.94 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.004808, allocations: 23.91 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.00494, allocations: 55.81 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.004943, allocations: 0 / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004943, allocations: 3.938 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004947, allocations: 0 / 275.6 MB, free: 14.95 MB / 266.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.0004512/0.005399, allocations: 420.1 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.005442, allocations: 12.02 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.005602, allocations: 28.88 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.005832, allocations: 161 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.005844, allocations: 384 / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.00586, allocations: 4.375 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.00613, allocations: 129.3 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006141, allocations: 4.188 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.006154, allocations: 384 / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.006191, allocations: 3.938 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.006224, allocations: 12 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.006581, allocations: 426.2 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.006658, allocations: 81.19 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.006691, allocations: 35.17 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.006708, allocations: 4 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.006733, allocations: 45.31 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.006734, allocations: 3.938 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000198/0.006932, allocations: 65.53 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.006988, allocations: 102.8 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.007101, allocations: 215.8 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.007112, allocations: 25.7 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.007168, allocations: 142.9 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.007187, allocations: 3.953 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.007217, allocations: 23.75 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.007344, allocations: 0.4884 MB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.007359, allocations: 4 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.007383, allocations: 23.31 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.007419, allocations: 23.38 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007421, allocations: 0 / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.324e-05/0.007484, allocations: 57.52 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.007497, allocations: 4 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.007502, allocations: 4.125 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.007517, allocations: 4 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.007582, allocations: 7.984 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.007588, allocations: 4 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.007608, allocations: 0 / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.007616, allocations: 4 kB / 278.1 MB, free: 12.13 MB / 266.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 6.962e-05/0.007686, allocations: 152.6 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.007738, allocations: 53.52 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.007766, allocations: 11.97 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.007776, allocations: 32 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.007781, allocations: 8 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007784, allocations: 0 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.007924, allocations: 140.6 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.007926, allocations: 0 / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.007949, allocations: 11.98 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007951, allocations: 0 / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007959, allocations: 3.938 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.007959, allocations: 0 / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.007961, allocations: 4 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.008107, allocations: 330.7 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.008134, allocations: 19.94 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.008148, allocations: 7.938 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.0082, allocations: 7.969 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.008242, allocations: 4 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.008245, allocations: 3.938 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.478e-05/0.00831, allocations: 160.6 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00831, allocations: 0 / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.008472, allocations: 8 kB / 279 MB, free: 11.15 MB / 266.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 7.156e-05/0.008544, allocations: 99.19 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.351e-05/0.008637, allocations: 31.61 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008639, allocations: 0 / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.008656, allocations: 11.69 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.00897, allocations: 20.56 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.009459, allocations: 213.5 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.655e-05/0.009505, allocations: 63.69 kB / 279.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.047e-05/0.009536, allocations: 11.98 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.009564, allocations: 12.5 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009565, allocations: 0 / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.002524/0.01209, allocations: 0.7478 MB / 280.2 MB, free: 9.887 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1422707308083773]