Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.002134/0.002134, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002623/0.002623, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.564/1.564, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3477/0.3477, allocations: 34.25 MB / 295.2 MB, free: 0.6602 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.693e-06, allocations: 4 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.751e-05/4.42e-05, allocations: 4.703 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.004335/0.00438, allocations: 1.666 MB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.005973, allocations: 0.5642 MB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.006051, allocations: 3.938 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.006961, allocations: 455.1 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007337/0.007695, allocations: 291.1 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.008355, allocations: 175.5 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.008731, allocations: 183.6 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.008861, allocations: 12.22 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.009094, allocations: 119.8 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.009575, allocations: 243.6 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.009603, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.009771, allocations: 59.83 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.009939, allocations: 87.66 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.01003, allocations: 39.75 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.01056, allocations: 259 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.01057, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01057, allocations: 7.938 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.01057, allocations: 0 / 381.4 MB, free: 14.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001111/0.01168, allocations: 0.5853 MB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.01174, allocations: 8.031 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.01186, allocations: 48.66 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.01229, allocations: 254 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.0123, allocations: 4.375 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.01234, allocations: 4.375 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.01257, allocations: 66.17 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.01258, allocations: 192 / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.01259, allocations: 4.375 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.0126, allocations: 384 / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.01276, allocations: 39.91 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.01365, allocations: 344.3 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.0138, allocations: 38.56 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.01388, allocations: 20.94 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.01391, allocations: 3.938 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.01396, allocations: 34.56 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.01396, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001364/0.01532, allocations: 332.6 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.01538, allocations: 51.41 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.01679, allocations: 0.8613 MB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.01682, allocations: 33.7 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.0171, allocations: 208.1 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.01715, allocations: 31.73 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.01722, allocations: 25.66 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002923/0.01751, allocations: 366.7 kB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.01764, allocations: 35.97 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.01775, allocations: 27.97 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.01801, allocations: 81.05 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01801, allocations: 0 / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004086/0.01842, allocations: 153.3 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.01844, allocations: 4 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01845, allocations: 0 / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/0.01848, allocations: 0 / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.01864, allocations: 23.98 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.01865, allocations: 0 / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.01873, allocations: 4 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.01874, allocations: 0 / 385 MB, free: 10.89 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 0.0003389/0.01908, allocations: 225.7 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.01919, allocations: 51.67 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.01973, allocations: 173.4 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01973, allocations: 0 / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.01974, allocations: 4 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01974, allocations: 0 / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.02073, allocations: 459.2 kB / 385.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.02074, allocations: 12.03 kB / 385.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.02084, allocations: 15.98 kB / 385.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.02084, allocations: 0 / 385.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.02086, allocations: 8 kB / 385.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.02086, allocations: 0 / 385.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02086, allocations: 0 / 385.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.0216, allocations: 267.9 kB / 386.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.02166, allocations: 31.72 kB / 386.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.0217, allocations: 4 kB / 386.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.02184, allocations: 11.98 kB / 386.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.0219, allocations: 7.938 kB / 386.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.02191, allocations: 4 kB / 386.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.02296, allocations: 0.6511 MB / 386.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02296, allocations: 0 / 386.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.02339, allocations: 35.88 kB / 386.9 MB, free: 8.875 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.002789/0.02618, allocations: 479.8 kB / 387.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.02654, allocations: 75.89 kB / 387.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02654, allocations: 0 / 387.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.0267, allocations: 43.91 kB / 387.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/0.02741, allocations: 27.89 kB / 387.6 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.02914, allocations: 0.8534 MB / 388.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.02951, allocations: 232.1 kB / 388.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.635e-05/0.0296, allocations: 16.72 kB / 388.7 MB, free: 7.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.02966, allocations: 20.5 kB / 388.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02967, allocations: 0 / 388.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of Templates: time 0.007796/0.03746, allocations: 1.619 MB / 390.3 MB, free: 5.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.988393546896987]