Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001379/0.001379, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.001197/0.001197, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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 0.9484/0.9484, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2756/0.2756, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.87e-05, allocations: 2.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002279/0.002308, allocations: 1.649 MB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007871/0.003095, allocations: 0.5447 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.003153, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.003414, allocations: 91.67 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.003694, allocations: 115.5 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.003933, allocations: 95.69 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.004096, allocations: 91.67 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.004189, allocations: 11.94 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.00426, allocations: 47.88 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.743e-05/0.004348, allocations: 55.88 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.004361, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.004447, allocations: 47.97 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.004491, allocations: 15.94 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.004518, allocations: 15.92 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.00467, allocations: 95.55 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.004674, allocations: 7.984 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004675, allocations: 0 / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004679, allocations: 0 / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004091/0.005089, allocations: 451.8 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.005128, allocations: 8.031 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.005169, allocations: 12.89 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.005312, allocations: 156.4 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.005321, allocations: 4.312 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.00535, allocations: 12.36 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005463, allocations: 54.95 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005472, allocations: 4.188 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.005483, allocations: 4.375 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.005492, allocations: 4.375 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.005524, allocations: 11.92 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.005813, allocations: 299.7 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.849e-05/0.005872, allocations: 50.92 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.005892, allocations: 11.69 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.005911, allocations: 0 / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.005931, allocations: 37.33 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.005931, allocations: 4 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005068/0.006438, allocations: 169.4 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.006464, allocations: 55.34 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.006607, allocations: 249.9 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.006618, allocations: 29.69 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.00668, allocations: 158.8 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.006707, allocations: 31.73 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.006738, allocations: 23.38 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.006858, allocations: 0.4962 MB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.006879, allocations: 11.98 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.006897, allocations: 12 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.006948, allocations: 39.73 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.006949, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.797e-05/0.007037, allocations: 81.52 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.00705, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007054, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.007069, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.007148, allocations: 19.98 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.007154, allocations: 320 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.007172, allocations: 0 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.007179, allocations: 8 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.658e-05/0.007245, allocations: 156.6 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.007271, allocations: 19.84 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.007405, allocations: 99.05 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007407, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.00741, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007413, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.007717, allocations: 384.9 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.00772, allocations: 4 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.007766, allocations: 12.45 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.007769, allocations: 4 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.007778, allocations: 8 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.007781, allocations: 4 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.007783, allocations: 3.984 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.007917, allocations: 239.4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.007929, allocations: 11.94 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.00794, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.007977, allocations: 8 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.008012, allocations: 7.984 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.008016, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.008103, allocations: 187.1 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008103, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.008271, allocations: 19.88 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009589/0.00923, allocations: 418.7 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.009342, allocations: 51.58 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009343, allocations: 0 / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/0.009375, allocations: 31.61 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.009594, allocations: 20.05 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.009958, allocations: 237.8 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.01, allocations: 71.33 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.413e-05/0.01004, allocations: 12.72 kB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.01007, allocations: 12.5 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/0.01007, allocations: 4 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.00326/0.01333, allocations: 1.392 MB / 387.5 MB, free: 9.102 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.359845081809908]