Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001305/0.001305, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009624/0.0009624, allocations: 156.5 kB / 24.55 MB, free: 16 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.9694/0.9694, allocations: 177 MB / 204.8 MB, free: 5.598 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.2656/0.2656, allocations: 34.87 MB / 296.3 MB, free: 0.5273 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.527e-05, allocations: 6.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002756/0.002791, allocations: 1.651 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.003567, allocations: 0.533 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.00362, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.004088, allocations: 455 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.004497, allocations: 291.2 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.004728, allocations: 127.6 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.004916, allocations: 155.7 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.005014, allocations: 12.17 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.00512, allocations: 115.8 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.005309, allocations: 247.5 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.005327, allocations: 4 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.00539, allocations: 27.92 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.005486, allocations: 79.7 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.005525, allocations: 35.75 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.005743, allocations: 191.2 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005746, allocations: 0 / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005747, allocations: 0 / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.005754, allocations: 0 / 382.7 MB, free: 14.15 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005603/0.006314, allocations: 0.6853 MB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.006354, allocations: 12.03 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.006414, allocations: 48.66 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.00661, allocations: 240.9 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.006619, allocations: 384 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.006631, allocations: 4.375 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.006749, allocations: 62.94 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.006757, allocations: 192 / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.006766, allocations: 384 / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.006773, allocations: 4.125 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.006797, allocations: 7.938 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.007199, allocations: 423.7 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.513e-05/0.007254, allocations: 31.06 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.007275, allocations: 11.75 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.007296, allocations: 0 / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.007318, allocations: 37.33 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.007319, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001662/0.007485, allocations: 89.34 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.007512, allocations: 51.41 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.007909, allocations: 0.6277 MB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.007918, allocations: 25.83 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.008061, allocations: 290.8 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.008083, allocations: 3.953 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.008114, allocations: 19.38 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.00826, allocations: 0.5509 MB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.008275, allocations: 0 / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.008286, allocations: 7.984 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.008317, allocations: 23.56 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008319, allocations: 0 / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.818e-05/0.008397, allocations: 77.36 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.008413, allocations: 10.75 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008418, allocations: 0 / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.008433, allocations: 4 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.00851, allocations: 7.984 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008515, allocations: 0 / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.008536, allocations: 0 / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.008542, allocations: 0 / 386 MB, free: 10.61 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 (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 7.618e-05/0.008618, allocations: 160.6 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.008651, allocations: 43.66 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.008779, allocations: 84.67 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.008781, allocations: 4 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008785, allocations: 0 / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008788, allocations: 0 / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.008989, allocations: 272.5 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.008991, allocations: 0 / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.009024, allocations: 4 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009026, allocations: 0 / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.009033, allocations: 3.938 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.009035, allocations: 0 / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.009037, allocations: 3.984 kB / 386.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.009153, allocations: 231.6 kB / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.00918, allocations: 39.72 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.009198, allocations: 7.922 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.009235, allocations: 0 / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.009252, allocations: 4 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.009254, allocations: 0 / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003892/0.009643, allocations: 430.8 kB / 387.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009643, allocations: 0 / 387.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.009807, allocations: 19.94 kB / 387.3 MB, free: 9.262 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0007214/0.01053, allocations: 334.3 kB / 387.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.736e-05/0.01062, allocations: 19.69 kB / 387.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01062, allocations: 0 / 387.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.01063, allocations: 15.62 kB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.01088, allocations: 21.95 kB / 387.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.01147, allocations: 0.5628 MB / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.01154, allocations: 115.2 kB / 388.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.46e-05/0.01156, allocations: 8 kB / 388.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.01159, allocations: 12.5 kB / 388.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01159, allocations: 0 / 388.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of Templates: time 0.003772/0.01536, allocations: 1.144 MB / 389.5 MB, free: 7.078 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.2506028939969838]