Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001913/0.001913, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001735/0.001735, allocations: 156.9 kB / 24.26 MB, free: 148 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.64/1.64, allocations: 177 MB / 204.4 MB, free: 5.621 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.3769/0.3769, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.569e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003918/0.003953, allocations: 1.657 MB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.005307, allocations: 0.7832 MB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.005349, allocations: 0 / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.005648, allocations: 31.72 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.005932, allocations: 39.83 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.49e-06/0.005938, allocations: 4 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.006113, allocations: 35.83 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.006154, allocations: 11.94 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.006209, allocations: 11.92 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.006286, allocations: 15.98 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.006301, allocations: 0 / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.006361, allocations: 11.98 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.006417, allocations: 15.94 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.006449, allocations: 7.938 kB / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.006629, allocations: 63.8 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006632, allocations: 4 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006634, allocations: 0 / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006639, allocations: 0 / 379.9 MB, free: 180 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004837/0.007123, allocations: 294 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.007172, allocations: 16.02 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.007233, allocations: 12.83 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.007411, allocations: 113.7 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.007424, allocations: 384 / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.007438, allocations: 4.375 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.007698, allocations: 127.3 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.007707, allocations: 4.188 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.007719, allocations: 384 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.007774, allocations: 24.36 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.007875, allocations: 51.78 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.008738, allocations: 0.8279 MB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.008864, allocations: 173.2 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.008915, allocations: 80.14 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.008961, allocations: 75.28 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.704e-05/0.009038, allocations: 105.8 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.009039, allocations: 4 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.009146, allocations: 49.52 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/0.009236, allocations: 130.7 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.009482, allocations: 190.7 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.0095, allocations: 25.7 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.009639, allocations: 151.5 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.00965, allocations: 8 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.009726, allocations: 33.7 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.009915, allocations: 322.8 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.009974, allocations: 35.94 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.01015, allocations: 160.4 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.01042, allocations: 200.9 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.01043, allocations: 4 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005394/0.01097, allocations: 205.1 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.01099, allocations: 8 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.011, allocations: 4 kB / 383.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.01102, allocations: 7.938 kB / 383.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01116, allocations: 40.55 kB / 383.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.01118, allocations: 7.938 kB / 383.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01128, allocations: 27.84 kB / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01129, allocations: 12 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001717/0.01147, allocations: 213 kB / 383.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.01156, allocations: 120.9 kB / 383.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.049e-05/0.01164, allocations: 116.8 kB / 383.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/0.01175, allocations: 188.1 kB / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.73e-05/0.01184, allocations: 176.3 kB / 384.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001129/0.01196, allocations: 184.2 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.01226, allocations: 376.8 kB / 384.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.732e-05/0.01231, allocations: 101 kB / 384.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.01238, allocations: 108.9 kB / 384.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.673e-05/0.01247, allocations: 176.3 kB / 385.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.01258, allocations: 188.2 kB / 385.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.652e-05/0.01267, allocations: 176.3 kB / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001053/0.01278, allocations: 184.2 kB / 385.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.01301, allocations: 315.7 kB / 386 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.01308, allocations: 108.9 kB / 386.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.0132, allocations: 184.3 kB / 386.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.0133, allocations: 105 kB / 386.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.01342, allocations: 188.1 kB / 386.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.01349, allocations: 113 kB / 386.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.01362, allocations: 128.1 kB / 386.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01362, allocations: 0 / 386.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.01392, allocations: 16 kB / 386.8 MB, free: 8.785 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 (0): * Single equations (assignments): 0 * 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.0008963/0.01481, allocations: 283.4 kB / 387.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.01499, allocations: 76.78 kB / 387.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01499, allocations: 4.188 kB / 387.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.01499, allocations: 4 kB / 387.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.01547, allocations: 466.3 kB / 387.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.01598, allocations: 243.7 kB / 387.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.0161, allocations: 87.67 kB / 387.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.01635, allocations: 53.08 kB / 388 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.01639, allocations: 12.5 kB / 388 MB, free: 7.57 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01639, allocations: 3.938 kB / 388 MB, free: 7.566 MB / 362.7 MB Notification: Performance of Templates: time 0.003627/0.02002, allocations: 0.7364 MB / 388.7 MB, free: 6.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.003656683024019]