Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001298/0.001298, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001387/0.001387, allocations: 162 kB / 25.61 MB, free: 8.887 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 1.062/1.062, allocations: 177 MB / 205.9 MB, free: 4.445 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.1624/0.1624, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.528e-05/3.694e-05, allocations: 4.047 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002776/0.002813, allocations: 1.703 MB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008011/0.003614, allocations: 0.5367 MB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.00368, allocations: 4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.003951, allocations: 79.64 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.004234, allocations: 103.5 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.004504, allocations: 139.5 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.004666, allocations: 87.75 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.004774, allocations: 12.22 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.00485, allocations: 51.83 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/0.004946, allocations: 55.86 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.004961, allocations: 4 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.005059, allocations: 47.92 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.005129, allocations: 31.91 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.005152, allocations: 15.94 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.005333, allocations: 107.5 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005336, allocations: 0 / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005338, allocations: 0 / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.341e-06/0.005343, allocations: 0 / 383 MB, free: 19.73 MB / 314.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.0003695/0.005712, allocations: 447.9 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.005751, allocations: 12.03 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.005793, allocations: 16.84 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.005912, allocations: 141.1 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.005923, allocations: 4.312 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.005943, allocations: 12.38 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.006048, allocations: 62.94 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.006058, allocations: 192 / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.006066, allocations: 8.344 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.006072, allocations: 4.375 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.0061, allocations: 15.88 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.00633, allocations: 280.2 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.006472, allocations: 51.05 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.006488, allocations: 11.69 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.006504, allocations: 4.094 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.006519, allocations: 37.33 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.006521, allocations: 0 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005388/0.00706, allocations: 234.8 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.007086, allocations: 55.41 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.007185, allocations: 226.8 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.007197, allocations: 33.7 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.007238, allocations: 162.8 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.007267, allocations: 35.69 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.007301, allocations: 31.36 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.007365, allocations: 0.4962 MB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.007387, allocations: 19.92 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.007407, allocations: 8 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.007455, allocations: 43.3 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007458, allocations: 7.938 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001032/0.007561, allocations: 89.53 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.007574, allocations: 4 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.007578, allocations: 4 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.007589, allocations: 4 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.007663, allocations: 27.91 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.007667, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.007693, allocations: 4 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.007698, allocations: 4 kB / 385.6 MB, free: 16.98 MB / 314.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 (11): * Single equations (assignments): 11 * 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 5.54e-05/0.007754, allocations: 164.5 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.007779, allocations: 19.91 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.007922, allocations: 95.06 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.007926, allocations: 11.94 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.007929, allocations: 3.984 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.007933, allocations: 0 / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.008217, allocations: 377.3 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.00822, allocations: 3.984 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.008292, allocations: 27.92 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.008297, allocations: 0 / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.008304, allocations: 4 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008306, allocations: 0 / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008308, allocations: 4.062 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.008429, allocations: 267 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.008443, allocations: 11.91 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.008459, allocations: 4 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/0.008504, allocations: 4 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.008548, allocations: 7.984 kB / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.008557, allocations: 11.98 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.386e-05/0.008611, allocations: 163.1 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008611, allocations: 0 / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.008798, allocations: 23.94 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001121/0.009918, allocations: 436.9 kB / 387.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01004, allocations: 55.59 kB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01004, allocations: 0 / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.01008, allocations: 31.61 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.01034, allocations: 23.97 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.01073, allocations: 274.6 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.01076, allocations: 75.33 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.01081, allocations: 16.48 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.01087, allocations: 86.14 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01087, allocations: 0 / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003907/0.01478, allocations: 1.776 MB / 389.5 MB, free: 13.08 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.5292333220131695]