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) 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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001221, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.001401, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4095, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.00604/0.4156, allocations: 2.111 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.4193, allocations: 1.283 MB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.4196, allocations: 2.75 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.42, allocations: 60.94 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007689/0.4208, allocations: 214.5 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.4224, allocations: 455.9 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009837/0.4234, allocations: 330.6 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.4237, allocations: 67.22 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.4241, allocations: 144 kB / 0.5355 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.4245, allocations: 198.9 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.4246, allocations: 19.06 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.4248, allocations: 66.14 kB / 0.5358 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.4251, allocations: 148.2 kB / 0.5359 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.4254, allocations: 175.7 kB / 0.5361 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008767/0.4262, allocations: 410.5 kB / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4263, allocations: 0 / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.4263, allocations: 0 / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.4263, allocations: 3.938 kB / 0.5365 GB, free: 9.531 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.00198/0.4283, allocations: 0.7926 MB / 0.5373 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.4283, allocations: 11.09 kB / 0.5373 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005205/0.4289, allocations: 96.55 kB / 0.5374 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009211/0.4298, allocations: 476.5 kB / 0.5378 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.4298, allocations: 9.062 kB / 0.5378 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.4299, allocations: 14.94 kB / 0.5379 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.4303, allocations: 144.5 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.4304, allocations: 1.125 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.4304, allocations: 5.094 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4304, allocations: 2.281 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.4308, allocations: 99.86 kB / 0.5381 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.432, allocations: 0.6797 MB / 0.5388 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.4323, allocations: 122.1 kB / 0.5389 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.4324, allocations: 58.25 kB / 0.5389 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.4325, allocations: 10.77 kB / 0.5389 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4325, allocations: 32.19 kB / 0.539 GB, free: 7.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4325, allocations: 0 / 0.539 GB, free: 7.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002002/0.4345, allocations: 0.6852 MB / 0.5396 GB, free: 7.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.4346, allocations: 83.56 kB / 0.5397 GB, free: 7.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.4358, allocations: 0.8955 MB / 0.5406 GB, free: 6.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4359, allocations: 35.11 kB / 0.5406 GB, free: 6.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.4361, allocations: 260.9 kB / 0.5409 GB, free: 6.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.4362, allocations: 74.97 kB / 0.541 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.4363, allocations: 34.67 kB / 0.541 GB, free: 6.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.4365, allocations: 377.8 kB / 0.5413 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.4368, allocations: 88.91 kB / 0.5414 GB, free: 5.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.4371, allocations: 112.1 kB / 0.5415 GB, free: 5.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.4377, allocations: 209 kB / 0.5417 GB, free: 5.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4377, allocations: 0 / 0.5417 GB, free: 5.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007049/0.4384, allocations: 300.7 kB / 0.542 GB, free: 5.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4384, allocations: 5.812 kB / 0.542 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4385, allocations: 192 / 0.542 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4385, allocations: 5.25 kB / 0.542 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.4388, allocations: 54.64 kB / 0.5421 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.4389, allocations: 5.109 kB / 0.5421 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.4391, allocations: 20.42 kB / 0.5421 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.4391, allocations: 8.703 kB / 0.5421 GB, free: 5.484 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.0002399/0.4393, allocations: 215.1 kB / 0.5423 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.4395, allocations: 64.77 kB / 0.5424 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/0.4403, allocations: 349.4 kB / 0.5427 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4403, allocations: 3.312 kB / 0.5427 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4403, allocations: 0 / 0.5427 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4403, allocations: 1.297 kB / 0.5427 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.4418, allocations: 0.8878 MB / 0.5436 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4418, allocations: 1.094 kB / 0.5436 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.442, allocations: 58.11 kB / 0.5437 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4421, allocations: 1.469 kB / 0.5437 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.4421, allocations: 9.484 kB / 0.5437 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.4421, allocations: 5.219 kB / 0.5437 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4421, allocations: 1.188 kB / 0.5437 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.4429, allocations: 479.6 kB / 0.5441 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.443, allocations: 140.4 kB / 0.5443 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.4431, allocations: 0 / 0.5443 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.4433, allocations: 27.86 kB / 0.5443 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.4434, allocations: 19.97 kB / 0.5443 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.4434, allocations: 15.98 kB / 0.5443 GB, free: 3.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007838/0.4442, allocations: 0.6591 MB / 0.545 GB, free: 3.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4442, allocations: 0 / 0.545 GB, free: 3.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.4446, allocations: 60 kB / 0.545 GB, free: 2.992 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.001087/0.4457, allocations: 400.9 kB / 0.5454 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.4464, allocations: 230.4 kB / 0.5456 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4464, allocations: 0 / 0.5456 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.4467, allocations: 119.9 kB / 0.5457 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.4473, allocations: 89.67 kB / 0.5458 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.4487, allocations: 0.9626 MB / 0.5468 GB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.4491, allocations: 0.8692 MB / 0.5476 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.4493, allocations: 75.22 kB / 0.5477 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4494, allocations: 44.17 kB / 0.5477 GB, free: 304 kB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4495, allocations: 0 / 0.5477 GB, free: 304 kB / 398.1 MB Notification: Performance of Templates: time 0.009365/0.4588, allocations: 4.411 MB / 0.552 GB, free: 11.91 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches