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.001103/0.001103, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.263/0.263, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5028, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.0045/0.5073, allocations: 2.12 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.5106, allocations: 1.387 MB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.5109, allocations: 2.75 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.5113, allocations: 62.38 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.512, allocations: 218.5 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.5137, allocations: 0.6184 MB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.5143, allocations: 350.9 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.5145, allocations: 75.59 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.5148, allocations: 148.3 kB / 0.5358 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.5152, allocations: 207.5 kB / 0.536 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.5153, allocations: 18.72 kB / 0.5361 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.5155, allocations: 66.8 kB / 0.5361 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.5157, allocations: 152.3 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.516, allocations: 176.3 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.5167, allocations: 431.1 kB / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5167, allocations: 0 / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5167, allocations: 0 / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.5167, allocations: 0 / 0.5369 GB, free: 9.301 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.001274/0.518, allocations: 0.8284 MB / 0.5377 GB, free: 8.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.5181, allocations: 13.78 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/0.5187, allocations: 96.59 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.5197, allocations: 488.8 kB / 0.5382 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.5197, allocations: 8.625 kB / 0.5382 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.5197, allocations: 17.98 kB / 0.5383 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.5202, allocations: 160.1 kB / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5203, allocations: 0 / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.5203, allocations: 5.344 kB / 0.5384 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.5203, allocations: 2.906 kB / 0.5384 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.5207, allocations: 117.9 kB / 0.5385 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.5223, allocations: 0.7199 MB / 0.5392 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.5227, allocations: 128.1 kB / 0.5394 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.5229, allocations: 73.86 kB / 0.5394 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.753e-05/0.5229, allocations: 10.34 kB / 0.5394 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.523, allocations: 31.69 kB / 0.5395 GB, free: 7.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.967e-06/0.523, allocations: 3.984 kB / 0.5395 GB, free: 7.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002539/0.5255, allocations: 0.7648 MB / 0.5402 GB, free: 6.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.5256, allocations: 91.23 kB / 0.5403 GB, free: 6.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.5272, allocations: 0.9039 MB / 0.5412 GB, free: 6.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.5273, allocations: 26.86 kB / 0.5412 GB, free: 6.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.5275, allocations: 266 kB / 0.5415 GB, free: 5.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.5277, allocations: 70.73 kB / 0.5415 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.5278, allocations: 36.27 kB / 0.5416 GB, free: 5.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002887/0.5281, allocations: 377.9 kB / 0.5419 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.5285, allocations: 115.1 kB / 0.542 GB, free: 5.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.5288, allocations: 127.6 kB / 0.5422 GB, free: 5.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.5294, allocations: 253.4 kB / 0.5424 GB, free: 5.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5295, allocations: 0 / 0.5424 GB, free: 5.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001018/0.5305, allocations: 348 kB / 0.5427 GB, free: 5.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.5305, allocations: 5.5 kB / 0.5427 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5305, allocations: 5 kB / 0.5427 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.5306, allocations: 1.062 kB / 0.5427 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.5309, allocations: 50.61 kB / 0.5428 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.5309, allocations: 5.203 kB / 0.5428 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.5311, allocations: 20.36 kB / 0.5428 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.5312, allocations: 9.297 kB / 0.5428 GB, free: 5.047 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.0003404/0.5315, allocations: 225.5 kB / 0.543 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.5317, allocations: 65.77 kB / 0.5431 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009905/0.5327, allocations: 397.4 kB / 0.5435 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5327, allocations: 6.656 kB / 0.5435 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5327, allocations: 5.094 kB / 0.5435 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5327, allocations: 3.984 kB / 0.5435 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.5349, allocations: 0.9574 MB / 0.5444 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5349, allocations: 0 / 0.5444 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.5352, allocations: 51.95 kB / 0.5445 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.5353, allocations: 0 / 0.5445 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.5353, allocations: 16.39 kB / 0.5445 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.5353, allocations: 3.938 kB / 0.5445 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5353, allocations: 0 / 0.5445 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.5363, allocations: 0.5099 MB / 0.545 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.5365, allocations: 140.7 kB / 0.5451 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.5366, allocations: 4 kB / 0.5451 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.5368, allocations: 31.91 kB / 0.5452 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5369, allocations: 15.98 kB / 0.5452 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.537, allocations: 11.98 kB / 0.5452 GB, free: 2.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.5381, allocations: 0.663 MB / 0.5458 GB, free: 2.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.146e-06/0.5381, allocations: 0 / 0.5458 GB, free: 2.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00046/0.5386, allocations: 59.94 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.001341/0.5399, allocations: 396.6 kB / 0.5463 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008112/0.5408, allocations: 267.7 kB / 0.5465 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5408, allocations: 0 / 0.5465 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.5412, allocations: 143.8 kB / 0.5467 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.5418, allocations: 84.27 kB / 0.5468 GB, free: 1.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.5437, allocations: 1.024 MB / 0.5478 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.5448, allocations: 0.8952 MB / 0.5486 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00032/0.5451, allocations: 107.2 kB / 0.5487 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.5453, allocations: 43.41 kB / 0.5488 GB, free: 15.24 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5453, allocations: 0 / 0.5488 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Templates: time 0.01113/0.5564, allocations: 4.522 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