Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 197.2 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 76.09 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5256, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003699/0.5294, allocations: 1.668 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.5307, allocations: 0.5894 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.5308, allocations: 1.375 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.5315, allocations: 449.8 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.5321, allocations: 295.7 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.5327, allocations: 177.4 kB / 0.5341 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.533, allocations: 180.1 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.5332, allocations: 22.59 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.5334, allocations: 115.4 kB / 0.5344 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.5337, allocations: 212.2 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.5337, allocations: 6.625 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.5339, allocations: 53.05 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.534, allocations: 83.41 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.5342, allocations: 115.2 kB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.5346, allocations: 272.3 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5346, allocations: 1.375 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5346, allocations: 0 / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.5347, allocations: 0 / 0.5351 GB, free: 10.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009114/0.5356, allocations: 0.6673 MB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5356, allocations: 9.406 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/0.5357, allocations: 55.83 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.5361, allocations: 302.9 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.5361, allocations: 2.531 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.5361, allocations: 3.594 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.5363, allocations: 61.83 kB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.5363, allocations: 5.109 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.5363, allocations: 7.938 kB / 0.5362 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5364, allocations: 1.125 kB / 0.5362 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.5365, allocations: 31.17 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.5371, allocations: 408.6 kB / 0.5366 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.5372, allocations: 47.94 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.5373, allocations: 25.66 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.5373, allocations: 5.234 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5373, allocations: 35.69 kB / 0.5367 GB, free: 9.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5374, allocations: 0 / 0.5367 GB, free: 9.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001043/0.5384, allocations: 319.7 kB / 0.537 GB, free: 9.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.5385, allocations: 56.53 kB / 0.5371 GB, free: 9.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.5395, allocations: 0.871 MB / 0.5379 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.5395, allocations: 31.02 kB / 0.538 GB, free: 8.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.5398, allocations: 233.3 kB / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.5398, allocations: 27.12 kB / 0.5382 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.5399, allocations: 28.39 kB / 0.5383 GB, free: 8.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.5401, allocations: 360.2 kB / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.5402, allocations: 31.97 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.5403, allocations: 33.98 kB / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.5405, allocations: 74.44 kB / 0.5387 GB, free: 7.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5405, allocations: 0 / 0.5387 GB, free: 7.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003298/0.5408, allocations: 148.7 kB / 0.5389 GB, free: 7.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5409, allocations: 5.656 kB / 0.5389 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5409, allocations: 0 / 0.5389 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/0.5409, allocations: 3.938 kB / 0.5389 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.5411, allocations: 27.2 kB / 0.5389 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.5411, allocations: 3.938 kB / 0.5389 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.5412, allocations: 6.609 kB / 0.5389 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.5412, allocations: 2.812 kB / 0.5389 GB, free: 7.844 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 (8): * Single equations (assignments): 8 * 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.0003079/0.5415, allocations: 215.2 kB / 0.5391 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/0.5416, allocations: 47.5 kB / 0.5392 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/0.5421, allocations: 178.1 kB / 0.5393 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5421, allocations: 5.062 kB / 0.5393 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.5421, allocations: 3.938 kB / 0.5393 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.5421, allocations: 1.156 kB / 0.5393 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008877/0.543, allocations: 0.5077 MB / 0.5398 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.543, allocations: 5.156 kB / 0.5398 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.5431, allocations: 26.11 kB / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5431, allocations: 1.188 kB / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5432, allocations: 1.062 kB / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5432, allocations: 1.156 kB / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5432, allocations: 0 / 0.5399 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.5436, allocations: 256.1 kB / 0.5401 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.5437, allocations: 123.3 kB / 0.5402 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.5438, allocations: 1.594 kB / 0.5402 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.5439, allocations: 10.45 kB / 0.5403 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.5439, allocations: 3.281 kB / 0.5403 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5439, allocations: 6.312 kB / 0.5403 GB, free: 6.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009783/0.5449, allocations: 0.6588 MB / 0.5409 GB, free: 6.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5449, allocations: 0 / 0.5409 GB, free: 6.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000312/0.5452, allocations: 30.66 kB / 0.5409 GB, free: 6.414 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 (8): * Single equations (assignments): 8 * 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.001388/0.5466, allocations: 448.1 kB / 0.5414 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.547, allocations: 80.88 kB / 0.5414 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.547, allocations: 4 kB / 0.5414 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.5471, allocations: 40.45 kB / 0.5415 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.5475, allocations: 33.89 kB / 0.5415 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.5489, allocations: 0.833 MB / 0.5423 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.5494, allocations: 0.8333 MB / 0.5431 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.037e-05/0.5495, allocations: 25.25 kB / 0.5432 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.5496, allocations: 14.91 kB / 0.5432 GB, free: 4.875 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5496, allocations: 0 / 0.5432 GB, free: 4.875 MB / 398.1 MB Notification: Performance of Templates: time 0.005474/0.555, allocations: 1.77 MB / 0.5449 GB, free: 3.266 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches