Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001935/0.001935, allocations: 99.55 kB / 20.97 MB, free: 3.453 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.002027/0.002027, allocations: 160.8 kB / 24.27 MB, free: 156 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.609/1.609, allocations: 177 MB / 204.5 MB, free: 5.613 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.3616/0.3616, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.915e-05/4.124e-05, allocations: 4.844 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.005561/0.005602, allocations: 1.666 MB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.007516, allocations: 0.568 MB / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.007617, allocations: 0 / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.008681, allocations: 451.1 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008658/0.009547, allocations: 303.1 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.01031, allocations: 175.5 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.01074, allocations: 171.6 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.01088, allocations: 19.98 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.01122, allocations: 119.7 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.01172, allocations: 239.6 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.01176, allocations: 8 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.01192, allocations: 31.92 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.01212, allocations: 87.7 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.01222, allocations: 39.73 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.01281, allocations: 243 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.01282, allocations: 3.984 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.01282, allocations: 0 / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.01283, allocations: 0 / 381.3 MB, free: 14.8 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.001501/0.01433, allocations: 0.7084 MB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.01438, allocations: 12.03 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.01454, allocations: 48.66 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.01531, allocations: 252.8 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.01533, allocations: 384 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.01536, allocations: 4.375 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.01557, allocations: 46.19 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.01559, allocations: 4.188 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.01561, allocations: 4.375 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.01561, allocations: 384 / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.01575, allocations: 19.92 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.01702, allocations: 467.6 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.01743, allocations: 54.98 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.01754, allocations: 27.75 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.01757, allocations: 0 / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/0.01764, allocations: 45.27 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.01764, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.001024/0.01867, allocations: 216.7 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.01874, allocations: 51.41 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.01998, allocations: 0.6745 MB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.02001, allocations: 29.7 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.02041, allocations: 298.8 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.02045, allocations: 23.83 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.02053, allocations: 23.38 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004921/0.02103, allocations: 0.5704 MB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.02111, allocations: 12 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.898e-05/0.02117, allocations: 11.98 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.02134, allocations: 47.61 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.02134, allocations: 0 / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003261/0.02167, allocations: 121.3 kB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.02169, allocations: 4 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.0217, allocations: 0 / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.02172, allocations: 4 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.0218, allocations: 8 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.02181, allocations: 0 / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.02189, allocations: 3.984 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.0219, allocations: 4 kB / 385.1 MB, free: 10.82 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 (5): * Single equations (assignments): 5 * 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.000198/0.0221, allocations: 164.5 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.0222, allocations: 43.66 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.02258, allocations: 113.2 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.02258, allocations: 0 / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.02258, allocations: 0 / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.02259, allocations: 4 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.02368, allocations: 0.5132 MB / 385.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02368, allocations: 0 / 385.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.091e-05/0.02375, allocations: 11.98 kB / 385.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.02375, allocations: 0 / 385.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.02377, allocations: 8 kB / 385.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.02377, allocations: 4 kB / 385.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02377, allocations: 0 / 385.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.02422, allocations: 255.6 kB / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/0.02432, allocations: 43.59 kB / 386.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.02436, allocations: 4 kB / 386.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.02448, allocations: 4 kB / 386.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.02454, allocations: 3.984 kB / 386.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.02455, allocations: 0 / 386.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007547/0.02531, allocations: 438.8 kB / 386.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02531, allocations: 4 kB / 386.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.02573, allocations: 27.98 kB / 386.7 MB, free: 9.121 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 (5): * Single equations (assignments): 5 * 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.003622/0.02936, allocations: 418.4 kB / 387.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.02963, allocations: 43.67 kB / 387.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.02963, allocations: 0 / 387.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.02974, allocations: 35.61 kB / 387.2 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.03029, allocations: 37.78 kB / 387.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.03183, allocations: 0.5926 MB / 387.8 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.03218, allocations: 212.1 kB / 388 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.624e-05/0.03226, allocations: 11.98 kB / 388 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.03232, allocations: 16.5 kB / 388 MB, free: 7.859 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03233, allocations: 0 / 388 MB, free: 7.859 MB / 362.7 MB Notification: Performance of Templates: time 0.007549/0.03987, allocations: 1.351 MB / 389.4 MB, free: 6.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 5.010796617018059]