Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.001042/0.001042, 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.001076/0.001076, 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 1.121/1.121, allocations: 177 MB / 204.8 MB, free: 5.246 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.2885/0.2885, allocations: 34.85 MB / 296.3 MB, free: 428 kB / 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.75e-05/3.991e-05, allocations: 3.156 kB / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.005891/0.005931, allocations: 1.698 MB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.007978, allocations: 1.297 MB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.008066, allocations: 4 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.008369, allocations: 27.73 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.00884, allocations: 79.55 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.009312, allocations: 135.6 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.009494, allocations: 75.77 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.009607, allocations: 12 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.0097, allocations: 39.89 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.009821, allocations: 31.89 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.009841, allocations: 4 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.01006, allocations: 95.75 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.01013, allocations: 15.94 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.01017, allocations: 19.92 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.01049, allocations: 139.5 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.01049, allocations: 4 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01049, allocations: 0 / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.0105, allocations: 0 / 382.4 MB, free: 14.34 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.0005836/0.01108, allocations: 428 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/0.01116, allocations: 15.97 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.01124, allocations: 12.89 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.01145, allocations: 136.4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.01147, allocations: 8.375 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.0115, allocations: 4.375 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.01174, allocations: 115.9 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.01175, allocations: 4.188 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.01176, allocations: 384 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.01177, allocations: 4.375 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.01183, allocations: 11.92 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.01226, allocations: 275.8 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.01237, allocations: 43 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.0124, allocations: 19.75 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.01243, allocations: 4 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.01246, allocations: 41.33 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.01246, allocations: 4 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005458/0.01301, allocations: 121.4 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.01306, allocations: 77.11 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.01323, allocations: 197.9 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.01325, allocations: 29.7 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.01332, allocations: 142.8 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.01335, allocations: 23.91 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.0134, allocations: 27.38 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.01357, allocations: 0.4884 MB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.0136, allocations: 8 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.01366, allocations: 61 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.01372, allocations: 31.69 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01372, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001316/0.01386, allocations: 69.58 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01387, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01388, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.0139, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.01403, allocations: 19.92 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.01404, allocations: 0 / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.01408, allocations: 7.984 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01409, allocations: 8.031 kB / 384.9 MB, free: 11.68 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.255e-05/0.01419, allocations: 164.5 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.01423, allocations: 19.84 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.01442, allocations: 82.73 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01442, allocations: 0 / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01442, allocations: 0 / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.01443, allocations: 3.984 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.0148, allocations: 337.3 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.0148, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.01488, allocations: 15.98 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01488, allocations: 4 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.01489, allocations: 4 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01489, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01489, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.01509, allocations: 231.7 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.0151, allocations: 7.953 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.01512, allocations: 4 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.0152, allocations: 7.984 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.01524, allocations: 4 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01525, allocations: 0 / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.01534, allocations: 157.8 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01534, allocations: 0 / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.0157, allocations: 43.86 kB / 385.9 MB, free: 10.54 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.001457/0.01716, allocations: 481.1 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.01731, allocations: 47.59 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01731, allocations: 0 / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.01735, allocations: 23.69 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.01769, allocations: 23.92 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.01818, allocations: 194.4 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.01824, allocations: 63.28 kB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.972e-05/0.01831, allocations: 24.28 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.01836, allocations: 24.48 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01836, allocations: 0 / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of Templates: time 0.005285/0.02365, allocations: 1.959 MB / 388.7 MB, free: 7.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.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.5871981349773705]