Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, 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.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4192, allocations: 62.45 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003559/0.4228, allocations: 2.033 MB / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.4252, allocations: 1.343 MB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.4254, allocations: 6.75 kB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.4257, allocations: 58.38 kB / 0.5344 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.4262, allocations: 213.2 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.4277, allocations: 0.594 MB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005458/0.4283, allocations: 312.9 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.4285, allocations: 79.17 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.4289, allocations: 136.8 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.4292, allocations: 193.4 kB / 0.5358 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.4293, allocations: 13.34 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.4295, allocations: 68.53 kB / 0.5359 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.4297, allocations: 148 kB / 0.5361 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.4299, allocations: 173.8 kB / 0.5362 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.4305, allocations: 396.4 kB / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4305, allocations: 0 / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4305, allocations: 0 / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.4305, allocations: 1.094 kB / 0.5366 GB, free: 9.512 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.001244/0.4318, allocations: 0.7805 MB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4318, allocations: 9.062 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.4321, allocations: 71.89 kB / 0.5374 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007628/0.4329, allocations: 462.4 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4329, allocations: 7.562 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.433, allocations: 14.91 kB / 0.5379 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.4333, allocations: 141.7 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4333, allocations: 5.438 kB / 0.5381 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4333, allocations: 1.281 kB / 0.5381 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4334, allocations: 2.344 kB / 0.5381 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.4336, allocations: 100.3 kB / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.4348, allocations: 0.6879 MB / 0.5388 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.4351, allocations: 116.1 kB / 0.5389 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.4352, allocations: 49.97 kB / 0.539 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.4352, allocations: 6.031 kB / 0.539 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.4353, allocations: 40.62 kB / 0.539 GB, free: 7.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.325e-06/0.4353, allocations: 0 / 0.539 GB, free: 7.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001613/0.4369, allocations: 0.5499 MB / 0.5396 GB, free: 7.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.437, allocations: 79.14 kB / 0.5396 GB, free: 7.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.4382, allocations: 0.8989 MB / 0.5405 GB, free: 6.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.4382, allocations: 30.73 kB / 0.5405 GB, free: 6.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.4384, allocations: 260 kB / 0.5408 GB, free: 6.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.4385, allocations: 62.47 kB / 0.5409 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.4386, allocations: 33.17 kB / 0.5409 GB, free: 6.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4388, allocations: 372.8 kB / 0.5412 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.439, allocations: 63.02 kB / 0.5413 GB, free: 5.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.4392, allocations: 83.56 kB / 0.5414 GB, free: 5.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.4396, allocations: 163.8 kB / 0.5415 GB, free: 5.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4396, allocations: 0 / 0.5415 GB, free: 5.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000543/0.4402, allocations: 239.4 kB / 0.5418 GB, free: 5.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4402, allocations: 5.719 kB / 0.5418 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4402, allocations: 5.188 kB / 0.5418 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4402, allocations: 1.156 kB / 0.5418 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.4404, allocations: 39.38 kB / 0.5418 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4405, allocations: 1.375 kB / 0.5418 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.4406, allocations: 18.52 kB / 0.5418 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.4407, allocations: 8.375 kB / 0.5418 GB, free: 5.66 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 (16): * Single equations (assignments): 16 * 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.0002591/0.4409, allocations: 212.8 kB / 0.542 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.4411, allocations: 56.91 kB / 0.5421 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.4418, allocations: 290.7 kB / 0.5424 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.4418, allocations: 6.766 kB / 0.5424 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.4418, allocations: 0 / 0.5424 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4418, allocations: 5.281 kB / 0.5424 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.4432, allocations: 0.8022 MB / 0.5432 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.4433, allocations: 0 / 0.5432 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.4434, allocations: 47.97 kB / 0.5432 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.4435, allocations: 1.375 kB / 0.5432 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4435, allocations: 6.484 kB / 0.5432 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4435, allocations: 5 kB / 0.5432 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4435, allocations: 3.938 kB / 0.5432 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.4441, allocations: 416.4 kB / 0.5436 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4443, allocations: 136.1 kB / 0.5438 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.4444, allocations: 1.375 kB / 0.5438 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.4446, allocations: 22.3 kB / 0.5438 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.4446, allocations: 14.8 kB / 0.5438 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.4447, allocations: 9.297 kB / 0.5438 GB, free: 4.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007573/0.4454, allocations: 0.6598 MB / 0.5444 GB, free: 3.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4454, allocations: 0 / 0.5444 GB, free: 3.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.4458, allocations: 55.98 kB / 0.5445 GB, free: 3.559 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 (16): * Single equations (assignments): 16 * 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.0009245/0.4468, allocations: 410.2 kB / 0.5449 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.4473, allocations: 159.8 kB / 0.545 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4473, allocations: 0 / 0.545 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.4475, allocations: 91.88 kB / 0.5451 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.4481, allocations: 82.59 kB / 0.5452 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4496, allocations: 0.9468 MB / 0.5461 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.4501, allocations: 0.8757 MB / 0.547 GB, free: 1.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.4503, allocations: 87.22 kB / 0.5471 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4504, allocations: 35.42 kB / 0.5471 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4504, allocations: 0 / 0.5471 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of Templates: time 0.01183/0.4622, allocations: 4.203 MB / 0.5512 GB, free: 12.77 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches