Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001195/0.001195, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001407/0.001407, allocations: 168.2 kB / 24.99 MB, free: 8.801 MB / 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.9929/0.9929, allocations: 177 MB / 205.2 MB, free: 5.586 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.2565/0.2565, allocations: 34.86 MB / 296.6 MB, free: 0.5664 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.CombiTable1Dv.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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 4 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.065e-05, allocations: 4.562 kB / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002308/0.002338, allocations: 1.638 MB / 380.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007699/0.003108, allocations: 0.5486 MB / 381 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.003174, allocations: 4 kB / 381 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.00345, allocations: 91.62 kB / 381.1 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.003754, allocations: 115.6 kB / 381.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.004027, allocations: 111.7 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.00418, allocations: 91.58 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.004277, allocations: 15.97 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.301e-05/0.00434, allocations: 43.91 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.004423, allocations: 51.86 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.004436, allocations: 4 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.282e-05/0.004519, allocations: 47.92 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.004564, allocations: 27.91 kB / 381.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.0046, allocations: 11.88 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004763, allocations: 99.59 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004765, allocations: 4 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004766, allocations: 0 / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.004772, allocations: 4 kB / 381.7 MB, free: 15.46 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.0003864/0.005158, allocations: 443.8 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.00519, allocations: 8.031 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.005235, allocations: 16.88 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.005387, allocations: 160.3 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.005397, allocations: 4.375 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.005418, allocations: 4.375 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.005533, allocations: 62.88 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.005542, allocations: 4.188 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.005556, allocations: 384 / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.005565, allocations: 4.375 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.005599, allocations: 11.92 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.005903, allocations: 299.7 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.341e-05/0.005967, allocations: 43 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.005989, allocations: 15.77 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.006007, allocations: 0 / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.00603, allocations: 41.33 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.00603, allocations: 0 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.006548, allocations: 181.6 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.006576, allocations: 51.41 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.006719, allocations: 249.9 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.006732, allocations: 25.7 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.00679, allocations: 158.8 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.006815, allocations: 31.73 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.006849, allocations: 23.38 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.006959, allocations: 0.504 MB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.006982, allocations: 15.98 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.007, allocations: 8 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.846e-05/0.007048, allocations: 31.69 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.007049, allocations: 0 / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.793e-05/0.007137, allocations: 81.56 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.00715, allocations: 7.984 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.007153, allocations: 0 / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007165, allocations: 0 / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.007232, allocations: 19.94 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007237, allocations: 4.25 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.007256, allocations: 3.984 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.007262, allocations: 8 kB / 384.2 MB, free: 12.77 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.779e-05/0.00733, allocations: 156.6 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.007354, allocations: 19.84 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.007487, allocations: 91.12 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.00749, allocations: 3.984 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.007493, allocations: 0 / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.007495, allocations: 0 / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.00778, allocations: 384.9 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007782, allocations: 0 / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.00782, allocations: 24.02 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007822, allocations: 0 / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.007829, allocations: 8 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.00783, allocations: 0 / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007832, allocations: 0 / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.007954, allocations: 247.4 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.007964, allocations: 7.953 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.007977, allocations: 0 / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.008014, allocations: 4 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.008043, allocations: 7.984 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.008049, allocations: 4 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.857e-05/0.008127, allocations: 179.2 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008127, allocations: 0 / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.0083, allocations: 27.86 kB / 385.3 MB, free: 11.54 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.0008688/0.009169, allocations: 418.8 kB / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.009281, allocations: 47.59 kB / 385.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009283, allocations: 0 / 385.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.009313, allocations: 31.61 kB / 385.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.00954, allocations: 26.39 kB / 385.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.009884, allocations: 253.7 kB / 386.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.009929, allocations: 71.34 kB / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.203e-05/0.009971, allocations: 16.7 kB / 386.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.01, allocations: 16.5 kB / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01, allocations: 0 / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003095/0.0131, allocations: 1.416 MB / 387.6 MB, free: 9.344 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.0891826020088047]