Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001748/0.001748, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.002015/0.002015, allocations: 160.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 1.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.57 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.2713/0.2713, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.283e-05, allocations: 14.19 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002865/0.002888, allocations: 1.703 MB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.003839, allocations: 0.5796 MB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.0039, allocations: 4 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.004459, allocations: 451.1 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.004886, allocations: 307.1 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.005228, allocations: 167.5 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.00559, allocations: 183.6 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.005688, allocations: 7.984 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.005814, allocations: 123.8 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.006048, allocations: 247.5 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.006068, allocations: 4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.006148, allocations: 39.91 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.006246, allocations: 83.7 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.006295, allocations: 39.75 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.006545, allocations: 203.1 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006548, allocations: 0 / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006549, allocations: 7.938 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006553, allocations: 0 / 382.9 MB, free: 13.93 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.0006466/0.0072, allocations: 0.6971 MB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.00724, allocations: 8.031 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.007307, allocations: 44.66 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.007541, allocations: 248.8 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.007553, allocations: 4.375 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.00758, allocations: 4.375 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.007716, allocations: 62.94 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.007728, allocations: 8.125 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.007738, allocations: 8.312 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.007748, allocations: 4.375 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/0.007792, allocations: 15.91 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.008278, allocations: 439.6 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.694e-05/0.008364, allocations: 39.05 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.008396, allocations: 15.62 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.008418, allocations: 0 / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.008444, allocations: 45.33 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.008445, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004945/0.008939, allocations: 216.8 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.008969, allocations: 51.41 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.009531, allocations: 0.6316 MB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.009546, allocations: 25.7 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.01002, allocations: 290.8 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.01005, allocations: 23.8 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.01009, allocations: 27.36 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.01028, allocations: 0.5509 MB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.01031, allocations: 11.98 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.01033, allocations: 8 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.029e-05/0.01039, allocations: 35.75 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01039, allocations: 7.922 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000138/0.01053, allocations: 105.3 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01055, allocations: 4 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.01055, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.01057, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.01067, allocations: 19.98 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.01068, allocations: 0 / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.01072, allocations: 4 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.01073, allocations: 4 kB / 386.5 MB, free: 10.09 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 (7): * Single equations (assignments): 7 * 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 9.154e-05/0.01082, allocations: 160.6 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.01088, allocations: 55.55 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.01106, allocations: 109.9 kB / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01107, allocations: 0 / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01107, allocations: 0 / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01107, allocations: 0 / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.01153, allocations: 497.2 kB / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01153, allocations: 0 / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.01159, allocations: 15.98 kB / 387.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01159, allocations: 4 kB / 387.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.0116, allocations: 4 kB / 387.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.0116, allocations: 0 / 387.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0116, allocations: 0 / 387.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.01177, allocations: 255.6 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.0118, allocations: 31.72 kB / 387.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.01182, allocations: 8 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.01189, allocations: 11.94 kB / 387.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.01193, allocations: 7.969 kB / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.01193, allocations: 4 kB / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003337/0.01227, allocations: 430.8 kB / 388.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01227, allocations: 4 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.01252, allocations: 27.94 kB / 388.1 MB, free: 8.418 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 (7): * Single equations (assignments): 7 * 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.0009471/0.01346, allocations: 372.7 kB / 388.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.01358, allocations: 39.67 kB / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01358, allocations: 0 / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.01362, allocations: 31.61 kB / 388.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.01394, allocations: 45.75 kB / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.01469, allocations: 0.5966 MB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.24e-05/0.01479, allocations: 123.2 kB / 389.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.01484, allocations: 21.02 kB / 389.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.01488, allocations: 16.5 kB / 389.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01488, allocations: 0 / 389.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of Templates: time 0.004508/0.01939, allocations: 1.526 MB / 390.9 MB, free: 5.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.3990168310701847]