Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001264, allocations: 108.1 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 180.2 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.386, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.00331/0.3893, allocations: 2.04 MB / 0.5216 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3911, allocations: 1.05 MB / 0.5226 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3912, allocations: 2.25 kB / 0.5226 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.3915, allocations: 44.2 kB / 0.5226 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.3919, allocations: 154.5 kB / 0.5228 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3929, allocations: 428.2 kB / 0.5232 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00042/0.3933, allocations: 282.4 kB / 0.5235 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.3935, allocations: 63.45 kB / 0.5235 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3937, allocations: 130.2 kB / 0.5236 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.394, allocations: 194.8 kB / 0.5238 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.3941, allocations: 17.12 kB / 0.5238 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3943, allocations: 55.16 kB / 0.5239 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.3944, allocations: 139.6 kB / 0.524 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3946, allocations: 162.2 kB / 0.5242 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.3951, allocations: 381.2 kB / 0.5246 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3951, allocations: 0 / 0.5246 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3951, allocations: 0 / 0.5246 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.984e-06/0.3951, allocations: 0 / 0.5246 GB, free: 0.8242 MB / 382.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.0009207/0.396, allocations: 0.7621 MB / 0.5253 GB, free: 216 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3961, allocations: 17.38 kB / 0.5253 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.3962, allocations: 53.03 kB / 0.5254 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.3967, allocations: 450.7 kB / 0.5258 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3967, allocations: 9.156 kB / 0.5258 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.3968, allocations: 15 kB / 0.5258 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3971, allocations: 141.4 kB / 0.526 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3971, allocations: 2.219 kB / 0.526 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3972, allocations: 5.375 kB / 0.526 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3972, allocations: 2.75 kB / 0.526 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.3975, allocations: 100.2 kB / 0.5261 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.3985, allocations: 0.6705 MB / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3988, allocations: 125.4 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.399, allocations: 58.69 kB / 0.5269 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.399, allocations: 2.75 kB / 0.5269 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3991, allocations: 39.94 kB / 0.5269 GB, free: 15.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.3991, allocations: 0 / 0.5269 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001986/0.4011, allocations: 0.6621 MB / 0.5276 GB, free: 14.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.4011, allocations: 79.45 kB / 0.5277 GB, free: 14.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.4021, allocations: 0.8446 MB / 0.5285 GB, free: 14.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4022, allocations: 29.7 kB / 0.5285 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.4024, allocations: 255.8 kB / 0.5287 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.4024, allocations: 67.59 kB / 0.5288 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.4025, allocations: 37.78 kB / 0.5288 GB, free: 13.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4027, allocations: 377.3 kB / 0.5292 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.403, allocations: 85.16 kB / 0.5293 GB, free: 13.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.4032, allocations: 112.5 kB / 0.5294 GB, free: 13.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.4038, allocations: 208.3 kB / 0.5296 GB, free: 13.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4038, allocations: 5.156 kB / 0.5296 GB, free: 13.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006723/0.4044, allocations: 297.7 kB / 0.5299 GB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4045, allocations: 5.656 kB / 0.5299 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4045, allocations: 1.031 kB / 0.5299 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4045, allocations: 1.344 kB / 0.5299 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.4048, allocations: 54.2 kB / 0.5299 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4048, allocations: 1.594 kB / 0.5299 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.405, allocations: 27.03 kB / 0.53 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.405, allocations: 10.83 kB / 0.53 GB, free: 13.13 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.0002142/0.4053, allocations: 205.2 kB / 0.5302 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4054, allocations: 55.59 kB / 0.5302 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000811/0.4062, allocations: 355.2 kB / 0.5306 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4062, allocations: 2.25 kB / 0.5306 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4062, allocations: 0 / 0.5306 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4062, allocations: 1.188 kB / 0.5306 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.4076, allocations: 0.8667 MB / 0.5314 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4076, allocations: 1.094 kB / 0.5314 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.4079, allocations: 54.08 kB / 0.5315 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4079, allocations: 9.203 kB / 0.5315 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.4079, allocations: 6.781 kB / 0.5315 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4079, allocations: 5.281 kB / 0.5315 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4079, allocations: 0 / 0.5315 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.4087, allocations: 476 kB / 0.5319 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.4088, allocations: 134.8 kB / 0.5321 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.4088, allocations: 2.594 kB / 0.5321 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.4091, allocations: 27.09 kB / 0.5321 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.4092, allocations: 20.53 kB / 0.5321 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.4092, allocations: 5.562 kB / 0.5321 GB, free: 11.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006757/0.4099, allocations: 0.6283 MB / 0.5327 GB, free: 11.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4099, allocations: 0 / 0.5327 GB, free: 11.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000385/0.4103, allocations: 55.09 kB / 0.5328 GB, free: 11.26 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.0009572/0.4112, allocations: 411.3 kB / 0.5332 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006561/0.4119, allocations: 226.4 kB / 0.5334 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4119, allocations: 0 / 0.5334 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.4122, allocations: 119.1 kB / 0.5335 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.4129, allocations: 80.94 kB / 0.5336 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.4145, allocations: 0.933 MB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.4151, allocations: 0.8488 MB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4152, allocations: 46.23 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4152, allocations: 3.938 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of Templates: time 0.01028/0.4255, allocations: 5.774 MB / 0.541 GB, free: 5.988 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches