Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, 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.478/1.478, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 79.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4173, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003786/0.4211, allocations: 2.029 MB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.423, allocations: 1.022 MB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.4231, allocations: 6.688 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.4236, allocations: 252.1 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.4242, allocations: 261.9 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.4253, allocations: 495.2 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.4258, allocations: 329.3 kB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.426, allocations: 67.73 kB / 0.5353 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.4262, allocations: 136.8 kB / 0.5355 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.4265, allocations: 213.6 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.4266, allocations: 11.97 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.4267, allocations: 71.31 kB / 0.5358 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.4269, allocations: 91.77 kB / 0.5358 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.427, allocations: 123.9 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.4275, allocations: 320.9 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4275, allocations: 0 / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4275, allocations: 0 / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.4275, allocations: 0 / 0.5363 GB, free: 9.793 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008299/0.4283, allocations: 0.6477 MB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4284, allocations: 10.86 kB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.014e-05/0.4285, allocations: 42.06 kB / 0.5369 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.4289, allocations: 319.5 kB / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.4289, allocations: 12.72 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.4289, allocations: 15.38 kB / 0.5373 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.4292, allocations: 115.1 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4292, allocations: 1.188 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4293, allocations: 5.062 kB / 0.5374 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4293, allocations: 2.25 kB / 0.5374 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.4295, allocations: 66.89 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.4302, allocations: 493.7 kB / 0.5379 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.4304, allocations: 91.55 kB / 0.538 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.4305, allocations: 32.94 kB / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.4305, allocations: 6.531 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4306, allocations: 35.75 kB / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.725e-06/0.4306, allocations: 3.984 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001028/0.4316, allocations: 402.1 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4317, allocations: 52.62 kB / 0.5385 GB, free: 7.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.4324, allocations: 0.5564 MB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.4324, allocations: 29.7 kB / 0.5391 GB, free: 7.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4326, allocations: 207 kB / 0.5393 GB, free: 7.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.4326, allocations: 53.14 kB / 0.5393 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.4327, allocations: 38.23 kB / 0.5394 GB, free: 7.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4329, allocations: 350.5 kB / 0.5397 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.433, allocations: 50.75 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4331, allocations: 57.56 kB / 0.5398 GB, free: 6.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.4334, allocations: 116.4 kB / 0.5399 GB, free: 6.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4334, allocations: 3.938 kB / 0.5399 GB, free: 6.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003599/0.4338, allocations: 200.8 kB / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4338, allocations: 8.453 kB / 0.5401 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4338, allocations: 0 / 0.5401 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4338, allocations: 1.375 kB / 0.5401 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.434, allocations: 31.67 kB / 0.5402 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.434, allocations: 0 / 0.5402 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.4341, allocations: 15.83 kB / 0.5402 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4341, allocations: 4.312 kB / 0.5402 GB, free: 6.703 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.000189/0.4343, allocations: 184.6 kB / 0.5404 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.4344, allocations: 41.91 kB / 0.5404 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.4349, allocations: 232.2 kB / 0.5406 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.4349, allocations: 2.219 kB / 0.5406 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4349, allocations: 5.016 kB / 0.5406 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4349, allocations: 0 / 0.5406 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008527/0.4358, allocations: 0.6272 MB / 0.5412 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4358, allocations: 1.312 kB / 0.5412 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.4359, allocations: 33.3 kB / 0.5413 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4359, allocations: 5.297 kB / 0.5413 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.4359, allocations: 7.031 kB / 0.5413 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4359, allocations: 0 / 0.5413 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4359, allocations: 5.406 kB / 0.5413 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.4363, allocations: 296.2 kB / 0.5416 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.4364, allocations: 104.8 kB / 0.5417 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.4364, allocations: 2 kB / 0.5417 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.4365, allocations: 10.48 kB / 0.5417 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.4366, allocations: 15.33 kB / 0.5417 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4366, allocations: 8.312 kB / 0.5417 GB, free: 5.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004643/0.4371, allocations: 423.9 kB / 0.5421 GB, free: 5.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4371, allocations: 3.938 kB / 0.5421 GB, free: 5.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00031/0.4374, allocations: 55.09 kB / 0.5422 GB, free: 5.254 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.001668/0.4391, allocations: 0.6835 MB / 0.5428 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.4394, allocations: 135.6 kB / 0.543 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4394, allocations: 0 / 0.543 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.4396, allocations: 75.53 kB / 0.543 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.4402, allocations: 73.55 kB / 0.5431 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.4417, allocations: 0.6867 MB / 0.5438 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.4423, allocations: 0.8152 MB / 0.5446 GB, free: 3.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.4425, allocations: 48.97 kB / 0.5446 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.4426, allocations: 29.55 kB / 0.5447 GB, free: 3.594 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4426, allocations: 0 / 0.5447 GB, free: 3.594 MB / 398.1 MB Notification: Performance of Templates: time 0.007787/0.4504, allocations: 3.281 MB / 0.5479 GB, free: 412 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches