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.001388/0.001388, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3962, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003243/0.3995, allocations: 2.102 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.4015, allocations: 1.299 MB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.4017, allocations: 2.75 kB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.402, allocations: 49.03 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.4026, allocations: 218.5 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.4038, allocations: 455.8 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.4043, allocations: 328.2 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.4045, allocations: 60.31 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.4048, allocations: 147.3 kB / 0.5355 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.4051, allocations: 194.5 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.4052, allocations: 19.53 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.4054, allocations: 66.44 kB / 0.5358 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.4055, allocations: 143.3 kB / 0.5359 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.4057, allocations: 175.6 kB / 0.5361 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.4062, allocations: 414.7 kB / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4063, allocations: 0 / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4063, allocations: 3.938 kB / 0.5365 GB, free: 9.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.4063, allocations: 0 / 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.001114/0.4074, allocations: 0.7992 MB / 0.5373 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4074, allocations: 10.22 kB / 0.5373 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.4079, allocations: 96.64 kB / 0.5374 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.4086, allocations: 481.3 kB / 0.5378 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.4086, allocations: 9 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.4087, allocations: 11.06 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.409, allocations: 138.7 kB / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.409, allocations: 5.25 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.409, allocations: 9.219 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4091, allocations: 2.25 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.4094, allocations: 100.2 kB / 0.5381 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009929/0.4104, allocations: 0.679 MB / 0.5388 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.4107, allocations: 123.3 kB / 0.5389 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.4108, allocations: 60.92 kB / 0.5389 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.4109, allocations: 10.2 kB / 0.5389 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.4109, allocations: 36.84 kB / 0.539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.4109, allocations: 0 / 0.539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002056/0.413, allocations: 0.682 MB / 0.5396 GB, free: 7.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.413, allocations: 79.36 kB / 0.5397 GB, free: 7.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.4141, allocations: 0.8996 MB / 0.5406 GB, free: 6.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4141, allocations: 30.73 kB / 0.5406 GB, free: 6.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.4143, allocations: 265.5 kB / 0.5409 GB, free: 6.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.4144, allocations: 70.03 kB / 0.541 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.4145, allocations: 43.34 kB / 0.541 GB, free: 6.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4146, allocations: 373.1 kB / 0.5413 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.4149, allocations: 90.02 kB / 0.5414 GB, free: 5.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.4152, allocations: 115.8 kB / 0.5415 GB, free: 5.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.4158, allocations: 205.2 kB / 0.5417 GB, free: 5.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4158, allocations: 0 / 0.5417 GB, free: 5.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007045/0.4165, allocations: 300.4 kB / 0.542 GB, free: 5.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.4165, allocations: 5.781 kB / 0.542 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4165, allocations: 0 / 0.542 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4166, allocations: 6.281 kB / 0.542 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.4169, allocations: 58.38 kB / 0.5421 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4169, allocations: 1.062 kB / 0.5421 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.4171, allocations: 15.89 kB / 0.5421 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.4171, allocations: 12.36 kB / 0.5421 GB, free: 5.477 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.0002127/0.4173, allocations: 215.2 kB / 0.5423 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4174, allocations: 60.66 kB / 0.5424 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.4183, allocations: 349.4 kB / 0.5427 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4183, allocations: 3.781 kB / 0.5427 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4183, allocations: 0 / 0.5427 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4183, allocations: 9.203 kB / 0.5427 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.4198, allocations: 0.8768 MB / 0.5436 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4198, allocations: 0 / 0.5436 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.4201, allocations: 57.39 kB / 0.5436 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4201, allocations: 1.375 kB / 0.5436 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.4201, allocations: 11.33 kB / 0.5437 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.4201, allocations: 5.312 kB / 0.5437 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4201, allocations: 1.375 kB / 0.5437 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.4209, allocations: 483.5 kB / 0.5441 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.4211, allocations: 136.4 kB / 0.5443 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.4212, allocations: 4 kB / 0.5443 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.4214, allocations: 27.84 kB / 0.5443 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.4215, allocations: 19.97 kB / 0.5443 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.4215, allocations: 12 kB / 0.5443 GB, free: 3.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007222/0.4223, allocations: 0.6591 MB / 0.545 GB, free: 3.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4223, allocations: 0 / 0.545 GB, free: 3.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.4227, allocations: 60 kB / 0.545 GB, free: 3.004 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.001081/0.4238, allocations: 404.8 kB / 0.5454 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.4244, allocations: 234.2 kB / 0.5456 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4245, allocations: 0 / 0.5456 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.4248, allocations: 123.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.0006395/0.4254, allocations: 91.19 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.001395/0.4268, allocations: 0.9594 MB / 0.5468 GB, free: 1.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.4273, allocations: 0.8692 MB / 0.5476 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.4275, allocations: 75.22 kB / 0.5477 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.4277, allocations: 47.41 kB / 0.5477 GB, free: 304 kB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4277, allocations: 0 / 0.5477 GB, free: 304 kB / 398.1 MB Notification: Performance of Templates: time 0.008909/0.4366, allocations: 4.498 MB / 0.5521 GB, free: 11.82 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