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.001827/0.001827, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.002397/0.002397, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 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 1.7/1.7, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 67.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.48, allocations: 53.35 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003491/0.4835, allocations: 1.648 MB / 433.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.4846, allocations: 0.5687 MB / 434.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.4847, allocations: 3.938 kB / 434.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.4848, allocations: 7.875 kB / 434.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.4849, allocations: 15.86 kB / 434.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.4853, allocations: 67.8 kB / 434.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.4854, allocations: 63.78 kB / 434.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4855, allocations: 15.98 kB / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.4856, allocations: 39.78 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.4857, allocations: 27.86 kB / 434.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.4857, allocations: 4 kB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.4858, allocations: 8 kB / 434.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.4859, allocations: 15.92 kB / 434.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.4859, allocations: 39.73 kB / 434.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.4861, allocations: 77.28 kB / 434.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4861, allocations: 0 / 434.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4861, allocations: 8 kB / 434.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.4861, allocations: 0 / 434.7 MB, free: 4.473 MB / 334.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.0005811/0.4867, allocations: 321.8 kB / 435 MB, free: 4.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4867, allocations: 8.031 kB / 435.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.487, allocations: 24.88 kB / 435.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.4874, allocations: 150.9 kB / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.4874, allocations: 12.36 kB / 435.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.4874, allocations: 4.375 kB / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.4878, allocations: 126.2 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.4879, allocations: 3.984 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.4879, allocations: 0 / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.4879, allocations: 15.98 kB / 435.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.4881, allocations: 39.91 kB / 435.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.4889, allocations: 341 kB / 435.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.4891, allocations: 83.78 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4892, allocations: 34.62 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4892, allocations: 3.984 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/0.4892, allocations: 46.5 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.4892, allocations: 0 / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004698/0.4897, allocations: 113.5 kB / 436 MB, free: 2.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4898, allocations: 106.8 kB / 436.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.49, allocations: 158.6 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.49, allocations: 25.7 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.4901, allocations: 104 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.4901, allocations: 15.88 kB / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.4901, allocations: 17.72 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4903, allocations: 322.8 kB / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.4904, allocations: 15.98 kB / 436.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.542e-05/0.4905, allocations: 47.36 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.4906, allocations: 67.33 kB / 436.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4906, allocations: 4 kB / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002091/0.4909, allocations: 85.56 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4909, allocations: 8 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4909, allocations: 3.984 kB / 437 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4909, allocations: 0 / 437 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.491, allocations: 12 kB / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.491, allocations: 0 / 437 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.4911, allocations: 16.11 kB / 437 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4911, allocations: 0 / 437 MB, free: 1.918 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001113/0.4912, allocations: 129.7 kB / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.4913, allocations: 45.66 kB / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.4913, allocations: 19.91 kB / 437.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.4914, allocations: 4 kB / 437.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4914, allocations: 0 / 437.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4914, allocations: 0 / 437.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.4916, allocations: 160.6 kB / 437.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4916, allocations: 4.031 kB / 437.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.4917, allocations: 11.98 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4917, allocations: 0 / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.4917, allocations: 0 / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4917, allocations: 4 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4917, allocations: 0 / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.4921, allocations: 279.5 kB / 437.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.4921, allocations: 11.95 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4921, allocations: 7.984 kB / 437.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.4922, allocations: 7.938 kB / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.4923, allocations: 0 / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.4923, allocations: 0 / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.4924, allocations: 123.2 kB / 437.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4924, allocations: 4 kB / 437.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.4927, allocations: 8 kB / 437.8 MB, free: 1.031 MB / 334.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.0001458/0.4928, allocations: 99.19 kB / 437.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.4931, allocations: 51.84 kB / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4931, allocations: 0 / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.4932, allocations: 32.22 kB / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.4937, allocations: 23.95 kB / 438 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.4942, allocations: 205 kB / 438.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.4946, allocations: 0.7079 MB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.4946, allocations: 12.28 kB / 438.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.4947, allocations: 15.42 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4947, allocations: 0 / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Templates: time 0.004447/0.4991, allocations: 0.7298 MB / 439.7 MB, free: 15.12 MB / 350.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.345488864928484]