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.001406/0.001406, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2755/0.2755, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 75.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4123, 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.004026/0.4164, allocations: 2.112 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.419, allocations: 1.391 MB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.4191, allocations: 12.06 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.4194, allocations: 61 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.4199, allocations: 214.4 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.4212, allocations: 0.6195 MB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.4216, allocations: 348.5 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.4219, allocations: 75.33 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.4221, allocations: 150.2 kB / 0.5358 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.4224, allocations: 207.6 kB / 0.536 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.4225, allocations: 14.38 kB / 0.5361 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.4226, allocations: 73.44 kB / 0.5361 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.4228, allocations: 149 kB / 0.5363 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.423, allocations: 176.6 kB / 0.5364 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.4235, allocations: 422.2 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4235, allocations: 0 / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4235, allocations: 1.156 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.4235, allocations: 0 / 0.5368 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.001124/0.4246, allocations: 0.8106 MB / 0.5376 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4247, allocations: 13.5 kB / 0.5376 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.4251, allocations: 96.98 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.4258, allocations: 487.7 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4258, allocations: 4.375 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.4258, allocations: 14.28 kB / 0.5382 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.4262, allocations: 163.9 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4262, allocations: 0 / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4262, allocations: 5.531 kB / 0.5384 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4262, allocations: 11 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.4265, allocations: 114.2 kB / 0.5385 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/0.4275, allocations: 0.7083 MB / 0.5392 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.4278, allocations: 135.6 kB / 0.5393 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.428, allocations: 73.73 kB / 0.5394 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.428, allocations: 6.203 kB / 0.5394 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4281, allocations: 36.66 kB / 0.5394 GB, free: 7.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.4281, allocations: 0 / 0.5394 GB, free: 7.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001988/0.4301, allocations: 0.7466 MB / 0.5402 GB, free: 6.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.4301, allocations: 83.48 kB / 0.5402 GB, free: 6.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.4311, allocations: 0.9039 MB / 0.5411 GB, free: 6.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4312, allocations: 30.92 kB / 0.5412 GB, free: 6.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.4314, allocations: 265.9 kB / 0.5414 GB, free: 6.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.4314, allocations: 66.94 kB / 0.5415 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.4315, allocations: 43.44 kB / 0.5415 GB, free: 5.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4317, allocations: 378.6 kB / 0.5419 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.432, allocations: 110.5 kB / 0.542 GB, free: 5.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.4323, allocations: 132 kB / 0.5421 GB, free: 5.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.4328, allocations: 257.1 kB / 0.5424 GB, free: 5.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4328, allocations: 0 / 0.5424 GB, free: 5.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006979/0.4335, allocations: 339.9 kB / 0.5427 GB, free: 5.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4336, allocations: 9.188 kB / 0.5427 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4336, allocations: 1.062 kB / 0.5427 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4336, allocations: 1.344 kB / 0.5427 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.4339, allocations: 54.33 kB / 0.5427 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4339, allocations: 5.062 kB / 0.5427 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.4341, allocations: 19.66 kB / 0.5428 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.4341, allocations: 9.094 kB / 0.5428 GB, free: 5.117 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.0002152/0.4343, allocations: 222.7 kB / 0.543 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.4344, allocations: 58.44 kB / 0.543 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008446/0.4353, allocations: 411.8 kB / 0.5434 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4353, allocations: 2.469 kB / 0.5434 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4353, allocations: 5.156 kB / 0.5434 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4353, allocations: 1.094 kB / 0.5434 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.4367, allocations: 0.9431 MB / 0.5444 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4367, allocations: 7.984 kB / 0.5444 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.437, allocations: 51.89 kB / 0.5444 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.437, allocations: 4 kB / 0.5444 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.437, allocations: 4 kB / 0.5444 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.437, allocations: 7.938 kB / 0.5444 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.437, allocations: 0 / 0.5444 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.4378, allocations: 0.5057 MB / 0.5449 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.4379, allocations: 140.3 kB / 0.5451 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.438, allocations: 8 kB / 0.5451 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4382, allocations: 19.92 kB / 0.5451 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.4383, allocations: 23.97 kB / 0.5451 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.4383, allocations: 8.359 kB / 0.5451 GB, free: 2.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007216/0.4391, allocations: 0.663 MB / 0.5458 GB, free: 2.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4391, allocations: 0 / 0.5458 GB, free: 2.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.4395, allocations: 68 kB / 0.5458 GB, free: 2.18 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.0009675/0.4404, allocations: 410.3 kB / 0.5462 GB, free: 1.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.4411, allocations: 271.6 kB / 0.5465 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4411, allocations: 0 / 0.5465 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.4415, allocations: 139.8 kB / 0.5466 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.4421, allocations: 84.33 kB / 0.5467 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.4435, allocations: 1.008 MB / 0.5477 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.4442, allocations: 0.8887 MB / 0.5486 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.4444, allocations: 99.19 kB / 0.5486 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4445, allocations: 43.42 kB / 0.5487 GB, free: 15.34 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4445, allocations: 0 / 0.5487 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Templates: time 0.009847/0.4544, allocations: 4.521 MB / 0.5531 GB, free: 10.83 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