Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4903, allocations: 62.45 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003671/0.494, allocations: 2.103 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.4963, allocations: 1.396 MB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.4964, allocations: 6.594 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.4968, allocations: 58.06 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.4973, allocations: 226 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.4986, allocations: 0.6127 MB / 0.5353 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.4991, allocations: 349.7 kB / 0.5356 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.4993, allocations: 75.58 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.4997, allocations: 146.1 kB / 0.5359 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.5001, allocations: 210.9 kB / 0.5361 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.5001, allocations: 14.5 kB / 0.5361 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.5003, allocations: 66.33 kB / 0.5361 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.5005, allocations: 147.8 kB / 0.5363 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.5007, allocations: 177.6 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000572/0.5012, allocations: 433.6 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5013, allocations: 1.094 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5013, allocations: 0 / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.5013, allocations: 0 / 0.5369 GB, free: 9.309 MB / 398.1 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.001285/0.5026, allocations: 0.8252 MB / 0.5377 GB, free: 8.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5026, allocations: 9.406 kB / 0.5377 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.5031, allocations: 101.4 kB / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.5037, allocations: 490.5 kB / 0.5382 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.5038, allocations: 12.48 kB / 0.5382 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.5038, allocations: 19.42 kB / 0.5383 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.5042, allocations: 160.4 kB / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5042, allocations: 0 / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.5042, allocations: 5.094 kB / 0.5384 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.5042, allocations: 3.812 kB / 0.5384 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.5046, allocations: 117 kB / 0.5385 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.5056, allocations: 0.7167 MB / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.5059, allocations: 132.7 kB / 0.5394 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.5061, allocations: 69.02 kB / 0.5394 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.5061, allocations: 3.062 kB / 0.5394 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.5062, allocations: 35.91 kB / 0.5395 GB, free: 7.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.5062, allocations: 0 / 0.5395 GB, free: 7.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002046/0.5082, allocations: 0.7678 MB / 0.5402 GB, free: 6.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.5083, allocations: 79.86 kB / 0.5403 GB, free: 6.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5095, allocations: 0.8988 MB / 0.5412 GB, free: 6.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.5095, allocations: 27.08 kB / 0.5412 GB, free: 6.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.5098, allocations: 277.7 kB / 0.5415 GB, free: 5.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.5099, allocations: 72.14 kB / 0.5415 GB, free: 5.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.51, allocations: 36.33 kB / 0.5416 GB, free: 5.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5101, allocations: 381.5 kB / 0.5419 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.5104, allocations: 107.1 kB / 0.542 GB, free: 5.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.5107, allocations: 137.5 kB / 0.5422 GB, free: 5.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.5113, allocations: 245.4 kB / 0.5424 GB, free: 5.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5114, allocations: 5.656 kB / 0.5424 GB, free: 5.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007569/0.5121, allocations: 339.2 kB / 0.5427 GB, free: 5.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5122, allocations: 5.281 kB / 0.5427 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5122, allocations: 0 / 0.5427 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5122, allocations: 2.375 kB / 0.5427 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.5125, allocations: 61.83 kB / 0.5428 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.5125, allocations: 5 kB / 0.5428 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.5127, allocations: 24.25 kB / 0.5428 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.5127, allocations: 5.25 kB / 0.5428 GB, free: 5.055 MB / 398.1 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.0002912/0.513, allocations: 223.2 kB / 0.543 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.5131, allocations: 65.48 kB / 0.5431 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009069/0.514, allocations: 399.5 kB / 0.5435 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5141, allocations: 2.75 kB / 0.5435 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5141, allocations: 1.375 kB / 0.5435 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5141, allocations: 0 / 0.5435 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.5155, allocations: 0.9581 MB / 0.5444 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5155, allocations: 0 / 0.5444 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.5158, allocations: 47.95 kB / 0.5445 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5158, allocations: 8 kB / 0.5445 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.5158, allocations: 7.984 kB / 0.5445 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.5158, allocations: 7.938 kB / 0.5445 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5158, allocations: 3.984 kB / 0.5445 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008012/0.5166, allocations: 0.5142 MB / 0.545 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.5168, allocations: 140.7 kB / 0.5451 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.5168, allocations: 3.938 kB / 0.5451 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.5171, allocations: 23.92 kB / 0.5452 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.5172, allocations: 23.97 kB / 0.5452 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.5172, allocations: 7.984 kB / 0.5452 GB, free: 2.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007423/0.518, allocations: 0.6669 MB / 0.5458 GB, free: 2.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.518, allocations: 0 / 0.5458 GB, free: 2.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.5184, allocations: 60 kB / 0.5459 GB, free: 2.102 MB / 398.1 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.001036/0.5194, allocations: 406.9 kB / 0.5463 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.5201, allocations: 263.8 kB / 0.5465 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5201, allocations: 0 / 0.5465 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.5204, allocations: 143.8 kB / 0.5467 GB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.5211, allocations: 93.81 kB / 0.5468 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.5227, allocations: 1.019 MB / 0.5478 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.5233, allocations: 0.8967 MB / 0.5486 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000263/0.5236, allocations: 99.2 kB / 0.5487 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.5237, allocations: 35.42 kB / 0.5488 GB, free: 15.24 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5237, allocations: 0.75 kB / 0.5488 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Templates: time 0.01/0.5337, allocations: 4.528 MB / 0.5532 GB, free: 10.73 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches