Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001442/0.001442, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001852/0.001852, allocations: 160.5 kB / 24.55 MB, free: 12 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 0.9815/0.9815, allocations: 177 MB / 204.8 MB, free: 5.574 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.2618/0.2618, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.274e-05, allocations: 10.25 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.006193/0.006216, allocations: 2.087 MB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.008297, allocations: 1.292 MB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.008401, allocations: 4 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.008625, allocations: 51.45 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.009087, allocations: 226.9 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.01199, allocations: 450.9 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.01239, allocations: 334.9 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.01254, allocations: 52.89 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.01284, allocations: 183.4 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.01308, allocations: 175.6 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.01313, allocations: 16 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.01327, allocations: 63.91 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.01342, allocations: 147.5 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.843e-05/0.01352, allocations: 99.52 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.01392, allocations: 322.6 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01392, allocations: 0 / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01392, allocations: 0 / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.01393, allocations: 0 / 384.2 MB, free: 12.58 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.0009191/0.01485, allocations: 0.8406 MB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.01488, allocations: 8.031 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.01523, allocations: 100.5 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.01568, allocations: 373.3 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.0157, allocations: 4.375 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.01573, allocations: 12.38 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.01598, allocations: 131.7 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.01599, allocations: 192 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.01602, allocations: 8.375 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01603, allocations: 3.938 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.01613, allocations: 47.83 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.01689, allocations: 0.6662 MB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.01719, allocations: 98.23 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.01725, allocations: 35.48 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.01728, allocations: 7.938 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.0173, allocations: 37.38 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/0.01731, allocations: 0 / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009349/0.01824, allocations: 0.4959 MB / 387.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.01828, allocations: 81.11 kB / 387.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.01878, allocations: 0.6793 MB / 387.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.0188, allocations: 29.7 kB / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.01897, allocations: 327.2 kB / 388.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.01902, allocations: 67.39 kB / 388.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/0.01909, allocations: 51.34 kB / 388.3 MB, free: 8.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.01924, allocations: 0.5547 MB / 388.9 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.0193, allocations: 27.97 kB / 388.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.01937, allocations: 55.28 kB / 389 MB, free: 7.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.0195, allocations: 87.36 kB / 389 MB, free: 7.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.0195, allocations: 0 / 389 MB, free: 7.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002494/0.01975, allocations: 201.4 kB / 389.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.01977, allocations: 8 kB / 389.2 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01977, allocations: 7.938 kB / 389.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01979, allocations: 3.984 kB / 389.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01995, allocations: 47.91 kB / 389.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01995, allocations: 224 / 389.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.02003, allocations: 15.98 kB / 389.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.02004, allocations: 7.938 kB / 389.3 MB, free: 7.23 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 (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.0001167/0.02016, allocations: 168.6 kB / 389.5 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.02022, allocations: 67.62 kB / 389.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.02055, allocations: 226.3 kB / 389.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02056, allocations: 4 kB / 389.8 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.02056, allocations: 0 / 389.8 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.02056, allocations: 0 / 389.8 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.02124, allocations: 0.7775 MB / 390.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02124, allocations: 0 / 390.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.02136, allocations: 51.89 kB / 390.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.02136, allocations: 4 kB / 390.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.02137, allocations: 4 kB / 390.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.02138, allocations: 4 kB / 390.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02138, allocations: 0 / 390.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.02174, allocations: 473.6 kB / 391.1 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.02179, allocations: 59.61 kB / 391.1 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.02182, allocations: 8 kB / 391.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.02193, allocations: 19.98 kB / 391.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.02199, allocations: 11.97 kB / 391.2 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.022, allocations: 15.98 kB / 391.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003068/0.0223, allocations: 455 kB / 391.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0223, allocations: 4 kB / 391.7 MB, free: 4.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.02255, allocations: 59.94 kB / 391.7 MB, free: 4.777 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 (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 Backend phase and start with SimCode phase: time 0.0009586/0.02351, allocations: 383.6 kB / 392.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.02375, allocations: 107.6 kB / 392.2 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02375, allocations: 0 / 392.2 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.02383, allocations: 71.52 kB / 392.3 MB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.02431, allocations: 97.53 kB / 392.4 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.02556, allocations: 0.7852 MB / 393.1 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.7e-05/0.02564, allocations: 152.4 kB / 393.3 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.0258, allocations: 63.2 kB / 393.3 MB, free: 3.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.02589, allocations: 40.48 kB / 393.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.02589, allocations: 0 / 393.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of Templates: time 0.008147/0.03404, allocations: 4.844 MB / 398.2 MB, free: 14.34 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.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.194728479254991]