Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001401/0.001401, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001495/0.001495, allocations: 162.4 kB / 24.99 MB, free: 9.281 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 0.9833/0.9833, allocations: 177 MB / 205.2 MB, free: 5.625 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.2491/0.2491, allocations: 34.86 MB / 296.6 MB, free: 0.582 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.086e-05, allocations: 2.312 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003177/0.003208, allocations: 1.736 MB / 380.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009677/0.004176, allocations: 0.568 MB / 381.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.00425, allocations: 0 / 381.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.004468, allocations: 19.84 kB / 381.1 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.004817, allocations: 87.55 kB / 381.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.005305, allocations: 131.5 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.005484, allocations: 99.69 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.005592, allocations: 19.98 kB / 381.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.005693, allocations: 47.84 kB / 381.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.005774, allocations: 35.88 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.005796, allocations: 8 kB / 381.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.005975, allocations: 91.88 kB / 381.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.006041, allocations: 23.92 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.006078, allocations: 23.92 kB / 381.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.006386, allocations: 159.4 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.00639, allocations: 0 / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006391, allocations: 4 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.006396, allocations: 0 / 381.8 MB, free: 15.35 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.0005596/0.006955, allocations: 455.8 kB / 382.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.007001, allocations: 8.031 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.007068, allocations: 12.89 kB / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.007283, allocations: 144.9 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.0073, allocations: 4.375 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.007327, allocations: 4.375 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.00754, allocations: 108 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.007551, allocations: 192 / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.007565, allocations: 12.12 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.007573, allocations: 3.938 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.007632, allocations: 11.98 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.008064, allocations: 311.6 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.008186, allocations: 43.05 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.008226, allocations: 15.69 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.008248, allocations: 3.938 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.008275, allocations: 33.39 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.008276, allocations: 8 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006359/0.008912, allocations: 165.4 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.008958, allocations: 77.11 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.009132, allocations: 209.9 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.009149, allocations: 25.7 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.67e-05/0.009215, allocations: 142.9 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.009246, allocations: 27.75 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.009301, allocations: 39.36 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.009439, allocations: 0.4961 MB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.009483, allocations: 8 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.009554, allocations: 65 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.009644, allocations: 35.69 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.009645, allocations: 0 / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001658/0.009811, allocations: 81.53 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.009829, allocations: 8 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.009836, allocations: 3.984 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.00985, allocations: 0 / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.01, allocations: 27.98 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01001, allocations: 0 / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.01008, allocations: 20.02 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.01009, allocations: 0 / 384.4 MB, free: 12.54 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 (10): * Single equations (assignments): 10 * 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.528e-05/0.01018, allocations: 168.5 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.01023, allocations: 7.953 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.01043, allocations: 94.38 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01043, allocations: 0 / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01043, allocations: 0 / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01044, allocations: 0 / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.01087, allocations: 381.7 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01087, allocations: 4 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01098, allocations: 23.98 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01099, allocations: 0 / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.011, allocations: 4 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.011, allocations: 384 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.011, allocations: 3.938 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.01121, allocations: 231.8 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.01123, allocations: 7.953 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.01125, allocations: 8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01136, allocations: 19.97 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.01142, allocations: 15.92 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.01143, allocations: 4 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.897e-05/0.01153, allocations: 162.8 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01153, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.01189, allocations: 47.86 kB / 385.5 MB, free: 11.3 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 (9): * Single equations (assignments): 9 * 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.001412/0.0133, allocations: 494 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.01349, allocations: 51.61 kB / 386.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01349, allocations: 0 / 386.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.01356, allocations: 31.67 kB / 386.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.01392, allocations: 32.17 kB / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.01442, allocations: 222.6 kB / 386.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.918e-05/0.01447, allocations: 63.34 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.231e-05/0.01455, allocations: 24.45 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.01462, allocations: 24.5 kB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01462, allocations: 0 / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.006339/0.02096, allocations: 2.649 MB / 389.1 MB, free: 7.836 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.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.1928228128235787]