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.001143/0.001142, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.001211, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2561/0.2561, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5026, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003909/0.5066, allocations: 2.123 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.5094, allocations: 1.387 MB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.5096, allocations: 7.281 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.5099, allocations: 62.97 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.5105, allocations: 214.3 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.512, allocations: 0.6145 MB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.5124, allocations: 346.1 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.5126, allocations: 76.52 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.5129, allocations: 149.3 kB / 0.5358 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.5133, allocations: 211.3 kB / 0.536 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.5133, allocations: 18.44 kB / 0.5361 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.5135, allocations: 70.12 kB / 0.5361 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.5137, allocations: 149.2 kB / 0.5363 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.5139, allocations: 176.2 kB / 0.5364 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005508/0.5144, allocations: 426.6 kB / 0.5368 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5145, allocations: 0 / 0.5368 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5145, allocations: 0 / 0.5368 GB, free: 9.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.5145, allocations: 0 / 0.5368 GB, free: 9.32 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.001234/0.5157, allocations: 0.8152 MB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5158, allocations: 10.09 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004367/0.5162, allocations: 92.14 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008519/0.5171, allocations: 483 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.5171, allocations: 8.844 kB / 0.5382 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.5172, allocations: 15.34 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.5175, allocations: 163.2 kB / 0.5384 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5175, allocations: 0 / 0.5384 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.5176, allocations: 5.125 kB / 0.5384 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5176, allocations: 3.312 kB / 0.5384 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.5179, allocations: 118.2 kB / 0.5385 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.5192, allocations: 0.7124 MB / 0.5392 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.5195, allocations: 135.1 kB / 0.5393 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.5197, allocations: 66.67 kB / 0.5394 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.5198, allocations: 5.578 kB / 0.5394 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5198, allocations: 39.88 kB / 0.5394 GB, free: 7.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.5198, allocations: 1.344 kB / 0.5394 GB, free: 7.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002167/0.522, allocations: 0.7504 MB / 0.5402 GB, free: 6.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.522, allocations: 80.02 kB / 0.5402 GB, free: 6.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5231, allocations: 0.9028 MB / 0.5411 GB, free: 6.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.5231, allocations: 30.83 kB / 0.5412 GB, free: 6.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.5233, allocations: 265.5 kB / 0.5414 GB, free: 6.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.5234, allocations: 72.11 kB / 0.5415 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.5235, allocations: 39.3 kB / 0.5415 GB, free: 5.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5237, allocations: 381.9 kB / 0.5419 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.524, allocations: 111 kB / 0.542 GB, free: 5.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.5243, allocations: 131.6 kB / 0.5421 GB, free: 5.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.5249, allocations: 257.8 kB / 0.5424 GB, free: 5.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5249, allocations: 0 / 0.5424 GB, free: 5.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008119/0.5257, allocations: 343.8 kB / 0.5427 GB, free: 5.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5258, allocations: 4.938 kB / 0.5427 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5258, allocations: 1.094 kB / 0.5427 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5258, allocations: 1.094 kB / 0.5427 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.5261, allocations: 54.36 kB / 0.5427 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5261, allocations: 1.188 kB / 0.5427 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.5263, allocations: 27.72 kB / 0.5428 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.5263, allocations: 9.266 kB / 0.5428 GB, free: 5.109 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.0003166/0.5267, allocations: 218.5 kB / 0.543 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5268, allocations: 58.03 kB / 0.543 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008981/0.5277, allocations: 408.5 kB / 0.5434 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5277, allocations: 2.25 kB / 0.5434 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5277, allocations: 1.031 kB / 0.5434 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5277, allocations: 5.188 kB / 0.5434 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.5293, allocations: 0.9527 MB / 0.5444 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5293, allocations: 0 / 0.5444 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.5296, allocations: 55.95 kB / 0.5444 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5296, allocations: 0 / 0.5444 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.5296, allocations: 4 kB / 0.5444 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.5296, allocations: 7.922 kB / 0.5444 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5296, allocations: 0 / 0.5444 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.5304, allocations: 0.5057 MB / 0.5449 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.5306, allocations: 140.3 kB / 0.5451 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.5307, allocations: 8 kB / 0.5451 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.5309, allocations: 19.92 kB / 0.5451 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.531, allocations: 20.34 kB / 0.5451 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.531, allocations: 15.98 kB / 0.5451 GB, free: 2.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007525/0.5318, allocations: 0.6591 MB / 0.5458 GB, free: 2.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5318, allocations: 0 / 0.5458 GB, free: 2.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.5322, allocations: 67.94 kB / 0.5458 GB, free: 2.184 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.0009123/0.5331, allocations: 416.4 kB / 0.5462 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.5339, allocations: 259.7 kB / 0.5465 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5339, allocations: 4 kB / 0.5465 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.5342, allocations: 147.8 kB / 0.5466 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.5348, allocations: 85.39 kB / 0.5467 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.5364, allocations: 0.9967 MB / 0.5477 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.5369, allocations: 0.8887 MB / 0.5485 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.5373, allocations: 103.2 kB / 0.5486 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.5374, allocations: 43.42 kB / 0.5487 GB, free: 15.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5374, allocations: 0 / 0.5487 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Templates: time 0.009711/0.5471, allocations: 4.623 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