Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.0008948/0.0008948, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009411/0.0009411, allocations: 166.2 kB / 24.82 MB, free: 9.258 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.9537/0.9537, allocations: 177 MB / 205.1 MB, free: 5.477 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.2513/0.2513, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.41e-05, allocations: 2.312 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002177/0.002191, allocations: 2.016 MB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003501, allocations: 1.23 MB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.418e-05/0.003585, allocations: 4 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.003765, allocations: 55.44 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.0041, allocations: 207 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.004652, allocations: 427 kB / 383.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.004899, allocations: 307 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005013, allocations: 44.89 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.005207, allocations: 167.5 kB / 383.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.005366, allocations: 167.6 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.005389, allocations: 16 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.005489, allocations: 67.91 kB / 383.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.005591, allocations: 139.5 kB / 384.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.005645, allocations: 83.58 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.005887, allocations: 310.6 kB / 384.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005889, allocations: 4 kB / 384.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005889, allocations: 0 / 384.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.005893, allocations: 0 / 384.4 MB, free: 12.59 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005903/0.006483, allocations: 0.8094 MB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.006517, allocations: 8.031 kB / 385.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.006678, allocations: 84.55 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.006943, allocations: 328.5 kB / 385.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.006954, allocations: 8.375 kB / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.006975, allocations: 12.38 kB / 385.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.007105, allocations: 119.9 kB / 385.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.007114, allocations: 192 / 385.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.007123, allocations: 4.375 kB / 385.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.007129, allocations: 11.88 kB / 385.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.007171, allocations: 35.91 kB / 385.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.007591, allocations: 0.5496 MB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.007673, allocations: 94.02 kB / 386.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.007697, allocations: 27.62 kB / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.007724, allocations: 19.91 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.007742, allocations: 33.39 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.007743, allocations: 0 / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.000473/0.008216, allocations: 264.8 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.008244, allocations: 77.11 kB / 386.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.008616, allocations: 0.6234 MB / 387.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.00863, allocations: 33.7 kB / 387.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.008774, allocations: 322.9 kB / 387.9 MB, free: 8.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.008812, allocations: 59.47 kB / 387.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.008852, allocations: 39.28 kB / 388 MB, free: 8.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.008995, allocations: 0.5624 MB / 388.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.009023, allocations: 15.98 kB / 388.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.009063, allocations: 44.05 kB / 388.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.009131, allocations: 59.56 kB / 388.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.009132, allocations: 0 / 388.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001465/0.009279, allocations: 153.4 kB / 388.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.009293, allocations: 8 kB / 388.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.009297, allocations: 0 / 388.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.00931, allocations: 7.922 kB / 388.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.009405, allocations: 35.98 kB / 388.9 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.009407, allocations: 3.938 kB / 388.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.009456, allocations: 11.94 kB / 388.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.009463, allocations: 4 kB / 388.9 MB, free: 7.898 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 8.152e-05/0.009545, allocations: 164.6 kB / 389 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.009604, allocations: 63.62 kB / 389.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.009801, allocations: 174.9 kB / 389.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.009805, allocations: 7.938 kB / 389.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.009807, allocations: 3.984 kB / 389.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00981, allocations: 0 / 389.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.01026, allocations: 0.6261 MB / 389.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01026, allocations: 0 / 389.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.01033, allocations: 39.91 kB / 389.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01033, allocations: 3.938 kB / 389.9 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01034, allocations: 12 kB / 390 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01034, allocations: 0 / 390 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01034, allocations: 80 / 390 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.01053, allocations: 425.3 kB / 390.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.01058, allocations: 59.55 kB / 390.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.0106, allocations: 4 kB / 390.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.01069, allocations: 11.98 kB / 390.4 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.01073, allocations: 7.984 kB / 390.5 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01074, allocations: 7.984 kB / 390.5 MB, free: 6.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003326/0.01107, allocations: 398.6 kB / 390.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01107, allocations: 3.938 kB / 390.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.01129, allocations: 52 kB / 390.9 MB, free: 5.793 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0007535/0.01204, allocations: 376.9 kB / 391.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01216, allocations: 75.5 kB / 391.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01216, allocations: 4 kB / 391.4 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.01221, allocations: 47.59 kB / 391.4 MB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01255, allocations: 80.84 kB / 391.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.01337, allocations: 0.7499 MB / 392.2 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.669e-05/0.01346, allocations: 136.4 kB / 392.4 MB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.01355, allocations: 63.55 kB / 392.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.01367, allocations: 130.2 kB / 392.5 MB, free: 4.195 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01368, allocations: 0 / 392.5 MB, free: 4.195 MB / 362.7 MB Notification: Performance of Templates: time 0.006439/0.02011, allocations: 4.445 MB / 397 MB, free: 15.82 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.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.9484579847194254]