Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001074/0.001074, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002475, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009555/0.0009555, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.002135, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9949/0.9949, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08424/1.079, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.2975/0.2975, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04364/0.3411, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.621e-05, allocations: 5.297 kB / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003135/0.003161, allocations: 1.734 MB / 295.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004468, allocations: 1.325 MB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.004518, allocations: 0 / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.004683, allocations: 27.73 kB / 297 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.004903, allocations: 83.55 kB / 297.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.005125, allocations: 135.6 kB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.005241, allocations: 63.84 kB / 297.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.005328, allocations: 15.98 kB / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/0.005424, allocations: 51.78 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.005524, allocations: 39.83 kB / 297.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.005539, allocations: 4 kB / 297.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.005709, allocations: 91.88 kB / 297.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.005759, allocations: 19.92 kB / 297.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.005777, allocations: 12 kB / 297.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.005971, allocations: 131.5 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.911e-05/0.00599, allocations: 4 kB / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.005992, allocations: 0 / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.006008, allocations: 0 / 297.6 MB, free: 1.426 MB / 282.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.000461/0.006469, allocations: 317.2 kB / 297.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.00651, allocations: 12.86 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.006559, allocations: 8.938 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.00675, allocations: 136 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.006761, allocations: 8.375 kB / 298.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.006782, allocations: 384 / 298.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.006918, allocations: 106.3 kB / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.006927, allocations: 192 / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.006934, allocations: 384 / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.006938, allocations: 384 / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.006965, allocations: 15.94 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.00715, allocations: 168.2 kB / 298.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/0.007202, allocations: 34.56 kB / 298.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.007215, allocations: 12.86 kB / 298.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.007239, allocations: 4 kB / 298.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.007258, allocations: 34.56 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.007259, allocations: 0 / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003218/0.007581, allocations: 109.5 kB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.007607, allocations: 51.41 kB / 298.6 MB, free: 312 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.007694, allocations: 144.8 kB / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.007704, allocations: 25.7 kB / 298.8 MB, free: 124 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.007731, allocations: 88.12 kB / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.007753, allocations: 31.73 kB / 298.9 MB, free: 0 / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.007779, allocations: 22.03 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.007846, allocations: 322.8 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.007858, allocations: 4 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.00789, allocations: 55.42 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.00792, allocations: 28.81 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007921, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.661e-05/0.007977, allocations: 49.69 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.007989, allocations: 7.938 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.007993, allocations: 0 / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/0.008, allocations: 4 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.008078, allocations: 19.92 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.008081, allocations: 4.031 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.008107, allocations: 7.984 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.008115, allocations: 4 kB / 299.4 MB, free: 15.44 MB / 298.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 5.023e-05/0.008165, allocations: 116.6 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.008182, allocations: 11.92 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.95e-05/0.008272, allocations: 66.45 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008274, allocations: 3.938 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.008275, allocations: 0 / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008278, allocations: 0 / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.008477, allocations: 230.7 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008478, allocations: 0 / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.008525, allocations: 19.92 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.008535, allocations: 11.94 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008538, allocations: 0 / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.008544, allocations: 4 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.008544, allocations: 0 / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.008547, allocations: 4 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.985e-05/0.008627, allocations: 151.8 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.008637, allocations: 0 / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.008674, allocations: 11.98 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.008701, allocations: 8 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.008705, allocations: 4 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.817e-05/0.008733, allocations: 35.16 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008733, allocations: 0 / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.0089, allocations: 39.88 kB / 300.1 MB, free: 14.68 MB / 298.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.00157/0.01047, allocations: 0.6725 MB / 300.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.255e-05/0.01056, allocations: 32.78 kB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.01057, allocations: 0 / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.01059, allocations: 29 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.01076, allocations: 28.12 kB / 300.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.01118, allocations: 203.2 kB / 301.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.01121, allocations: 63.28 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.707e-05/0.01126, allocations: 11.98 kB / 301.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.01134, allocations: 71.36 kB / 301.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01134, allocations: 0 / 301.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of Templates: time 0.003524/0.01486, allocations: 2.151 MB / 303.4 MB, free: 11.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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: 2.9799418076872826]