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.001288/0.001288, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.00137/0.00137, allocations: 168.7 kB / 25.61 MB, free: 8.602 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.9872/0.9872, allocations: 177 MB / 205.9 MB, free: 4.461 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.1449/0.1449, allocations: 34.88 MB / 297.4 MB, free: 13.35 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.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.723e-06/1.723e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.612e-05, allocations: 6.25 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002676/0.002692, allocations: 1.996 MB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.004398, allocations: 1.226 MB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.004523, allocations: 4 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.004779, allocations: 47.52 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.005132, allocations: 219 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.005788, allocations: 423 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.006111, allocations: 303 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.006264, allocations: 52.81 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.006548, allocations: 171.5 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.006783, allocations: 171.6 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.006816, allocations: 12 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.006942, allocations: 67.89 kB / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.007086, allocations: 139.5 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.007162, allocations: 87.58 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.007497, allocations: 302.7 kB / 385.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.007499, allocations: 0 / 385.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.0075, allocations: 0 / 385.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.007505, allocations: 0 / 385.2 MB, free: 17.54 MB / 314.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.000753/0.008258, allocations: 0.8056 MB / 386 MB, free: 16.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.0083, allocations: 8.031 kB / 386 MB, free: 16.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.008545, allocations: 84.53 kB / 386.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.008881, allocations: 328.5 kB / 386.4 MB, free: 16.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.008897, allocations: 8.375 kB / 386.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.008925, allocations: 12.38 kB / 386.4 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.009096, allocations: 119.3 kB / 386.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.00911, allocations: 4.125 kB / 386.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.009122, allocations: 8.375 kB / 386.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.009131, allocations: 7.938 kB / 386.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.009199, allocations: 35.73 kB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.009785, allocations: 0.5495 MB / 387.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.009926, allocations: 102.1 kB / 387.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.009961, allocations: 23.38 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.009985, allocations: 4 kB / 387.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.01001, allocations: 41.5 kB / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.01001, allocations: 0 / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007571/0.01077, allocations: 269.3 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.01081, allocations: 77.11 kB / 387.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.01141, allocations: 0.6234 MB / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01143, allocations: 29.7 kB / 388.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.01163, allocations: 326.9 kB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.01168, allocations: 59.47 kB / 388.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.01174, allocations: 35.36 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.0119, allocations: 0.5663 MB / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.01195, allocations: 12 kB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.01201, allocations: 40.75 kB / 389.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.01213, allocations: 63.47 kB / 389.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01213, allocations: 8 kB / 389.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000225/0.01235, allocations: 145.3 kB / 389.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.01237, allocations: 4 kB / 389.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01238, allocations: 3.938 kB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01239, allocations: 3.938 kB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.01254, allocations: 39.97 kB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01255, allocations: 224 / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.01263, allocations: 7.984 kB / 389.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01265, allocations: 7.938 kB / 389.6 MB, free: 12.86 MB / 314.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 0.0001099/0.01276, allocations: 172.5 kB / 389.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.01285, allocations: 59.62 kB / 389.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.01315, allocations: 178.4 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.01316, allocations: 7.938 kB / 390 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01316, allocations: 0 / 390 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.01317, allocations: 3.984 kB / 390 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.01382, allocations: 0.6219 MB / 390.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01382, allocations: 0 / 390.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.01394, allocations: 39.97 kB / 390.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.01395, allocations: 3.938 kB / 390.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01396, allocations: 8 kB / 390.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.01397, allocations: 0 / 390.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01397, allocations: 3.938 kB / 390.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.01422, allocations: 416.5 kB / 391.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.01429, allocations: 55.55 kB / 391.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.01433, allocations: 8 kB / 391.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.01448, allocations: 11.98 kB / 391.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.01452, allocations: 7.984 kB / 391.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.01454, allocations: 15.98 kB / 391.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000301/0.01484, allocations: 398.6 kB / 391.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01484, allocations: 0 / 391.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01511, allocations: 51.94 kB / 391.7 MB, free: 10.76 MB / 314.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.0008178/0.01592, allocations: 385.1 kB / 392 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01606, allocations: 71.72 kB / 392.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01607, allocations: 0 / 392.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.01612, allocations: 55.72 kB / 392.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.01647, allocations: 77.44 kB / 392.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.01723, allocations: 0.7575 MB / 393 MB, free: 9.523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.728e-05/0.0173, allocations: 132.5 kB / 393.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.682e-05/0.01739, allocations: 55.23 kB / 393.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.0175, allocations: 130.2 kB / 393.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0175, allocations: 0 / 393.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of Templates: time 0.006341/0.02385, allocations: 4.524 MB / 397.8 MB, free: 4.719 MB / 314.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: 3.2248275158926845]