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.001266/0.001267, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.6 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.2232/0.2232, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 75.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3993, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003634/0.403, allocations: 2.128 MB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.4054, allocations: 1.386 MB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.4056, allocations: 7.844 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.4059, allocations: 57.23 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.4064, allocations: 223.4 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.4078, allocations: 0.6131 MB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.4082, allocations: 352 kB / 0.5363 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.4084, allocations: 76.03 kB / 0.5364 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.4087, allocations: 146.5 kB / 0.5365 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.409, allocations: 210.9 kB / 0.5367 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.409, allocations: 14.25 kB / 0.5367 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.4092, allocations: 65.89 kB / 0.5368 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.4094, allocations: 149.2 kB / 0.5369 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.4096, allocations: 180.6 kB / 0.5371 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.4101, allocations: 426 kB / 0.5375 GB, free: 9.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4101, allocations: 0 / 0.5375 GB, free: 9.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4101, allocations: 4 kB / 0.5375 GB, free: 9.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4101, allocations: 1 kB / 0.5375 GB, free: 9.328 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.001099/0.4112, allocations: 0.8075 MB / 0.5383 GB, free: 8.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4113, allocations: 13.2 kB / 0.5383 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.4117, allocations: 92.31 kB / 0.5384 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.4124, allocations: 487.2 kB / 0.5389 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4124, allocations: 8.219 kB / 0.5389 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.4124, allocations: 15.16 kB / 0.5389 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.4128, allocations: 160.8 kB / 0.539 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.4128, allocations: 0 / 0.539 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.4129, allocations: 5 kB / 0.5391 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4129, allocations: 3.656 kB / 0.5391 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.4132, allocations: 121.5 kB / 0.5392 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4143, allocations: 0.708 MB / 0.5399 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.4146, allocations: 136.6 kB / 0.54 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.4147, allocations: 66.23 kB / 0.5401 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.4148, allocations: 5.812 kB / 0.5401 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4148, allocations: 35.94 kB / 0.5401 GB, free: 7.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.4148, allocations: 0 / 0.5401 GB, free: 7.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002021/0.4168, allocations: 0.7515 MB / 0.5408 GB, free: 6.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.4169, allocations: 87.28 kB / 0.5409 GB, free: 6.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.4181, allocations: 0.9036 MB / 0.5418 GB, free: 6.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.4181, allocations: 26.77 kB / 0.5418 GB, free: 6.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.4183, allocations: 266.8 kB / 0.5421 GB, free: 6.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.4184, allocations: 70.11 kB / 0.5421 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.4185, allocations: 40.38 kB / 0.5422 GB, free: 5.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.4187, allocations: 377.5 kB / 0.5425 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.4189, allocations: 107.6 kB / 0.5426 GB, free: 5.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.4192, allocations: 139.1 kB / 0.5428 GB, free: 5.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.4198, allocations: 254.1 kB / 0.543 GB, free: 5.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4198, allocations: 0 / 0.543 GB, free: 5.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007143/0.4205, allocations: 344 kB / 0.5433 GB, free: 5.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4206, allocations: 5.406 kB / 0.5434 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4206, allocations: 0 / 0.5434 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4206, allocations: 1.656 kB / 0.5434 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.4209, allocations: 58.11 kB / 0.5434 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.4209, allocations: 1.312 kB / 0.5434 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.4211, allocations: 24.31 kB / 0.5434 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.4211, allocations: 9.188 kB / 0.5434 GB, free: 5.121 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.0002285/0.4213, allocations: 221.8 kB / 0.5437 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4215, allocations: 57.75 kB / 0.5437 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.4223, allocations: 400.8 kB / 0.5441 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4224, allocations: 2.219 kB / 0.5441 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4224, allocations: 1.531 kB / 0.5441 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4224, allocations: 0 / 0.5441 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.4238, allocations: 0.9584 MB / 0.545 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4238, allocations: 0 / 0.545 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.4241, allocations: 51.94 kB / 0.5451 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4241, allocations: 4 kB / 0.5451 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.4241, allocations: 8.188 kB / 0.5451 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.4241, allocations: 11.94 kB / 0.5451 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4241, allocations: 0 / 0.5451 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.4249, allocations: 0.5018 MB / 0.5456 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.425, allocations: 148.3 kB / 0.5457 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.4251, allocations: 4 kB / 0.5457 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4253, allocations: 23.92 kB / 0.5458 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.4254, allocations: 19.97 kB / 0.5458 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.4254, allocations: 7.984 kB / 0.5458 GB, free: 2.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007131/0.4261, allocations: 0.663 MB / 0.5464 GB, free: 2.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4262, allocations: 4 kB / 0.5464 GB, free: 2.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000372/0.4265, allocations: 64 kB / 0.5465 GB, free: 2.203 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.000972/0.4275, allocations: 404.5 kB / 0.5469 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006649/0.4282, allocations: 271.6 kB / 0.5471 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4282, allocations: 0 / 0.5471 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.4285, allocations: 143.8 kB / 0.5473 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.4291, allocations: 81.89 kB / 0.5474 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.4307, allocations: 1.022 MB / 0.5484 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.4312, allocations: 0.8754 MB / 0.5492 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.4313, allocations: 47.42 kB / 0.5493 GB, free: 15.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4313, allocations: 0 / 0.5493 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Templates: time 0.008901/0.4402, allocations: 6.388 MB / 0.5555 GB, free: 9.07 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches