Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 71.89 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5249, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004462/0.5294, allocations: 2.022 MB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.5325, allocations: 1.258 MB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.5327, allocations: 1.375 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.5331, allocations: 45.09 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.5338, allocations: 213.2 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.5353, allocations: 434.6 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005931/0.5359, allocations: 295.8 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.5362, allocations: 58.05 kB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.5365, allocations: 133.7 kB / 0.5353 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.537, allocations: 190.2 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.537, allocations: 13.75 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.5373, allocations: 64.12 kB / 0.5356 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.5376, allocations: 143.5 kB / 0.5357 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.5378, allocations: 164.8 kB / 0.5359 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.5385, allocations: 388.5 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5385, allocations: 0 / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5386, allocations: 0.6875 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.5386, allocations: 0 / 0.5363 GB, free: 9.707 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.001382/0.54, allocations: 0.7872 MB / 0.537 GB, free: 9.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.54, allocations: 9.766 kB / 0.537 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.5404, allocations: 76.03 kB / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009026/0.5413, allocations: 464.7 kB / 0.5376 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5413, allocations: 4.469 kB / 0.5376 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.5414, allocations: 15.66 kB / 0.5376 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.5417, allocations: 132.7 kB / 0.5377 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5417, allocations: 1.062 kB / 0.5377 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.5418, allocations: 8.969 kB / 0.5377 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5418, allocations: 2.188 kB / 0.5377 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.542, allocations: 74.69 kB / 0.5378 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.5431, allocations: 0.6678 MB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.5433, allocations: 105.1 kB / 0.5385 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5434, allocations: 44.25 kB / 0.5386 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.5435, allocations: 5.672 kB / 0.5386 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5435, allocations: 44.19 kB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.875e-06/0.5435, allocations: 0 / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001481/0.545, allocations: 0.5266 MB / 0.5391 GB, free: 7.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.5451, allocations: 83.89 kB / 0.5392 GB, free: 7.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.5463, allocations: 0.8995 MB / 0.5401 GB, free: 6.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.5463, allocations: 26.83 kB / 0.5401 GB, free: 6.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.5465, allocations: 252.3 kB / 0.5404 GB, free: 6.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.5466, allocations: 53.81 kB / 0.5404 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.5467, allocations: 32.45 kB / 0.5404 GB, free: 6.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.5469, allocations: 377.4 kB / 0.5408 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.5471, allocations: 53.81 kB / 0.5409 GB, free: 6.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.5472, allocations: 72.61 kB / 0.5409 GB, free: 6.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.5476, allocations: 135 kB / 0.5411 GB, free: 6.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5476, allocations: 192 / 0.5411 GB, free: 6.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005126/0.5481, allocations: 237.9 kB / 0.5413 GB, free: 5.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.5481, allocations: 5.781 kB / 0.5413 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5482, allocations: 0 / 0.5413 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.5482, allocations: 1.406 kB / 0.5413 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.5484, allocations: 39.69 kB / 0.5413 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5484, allocations: 2.031 kB / 0.5413 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.5486, allocations: 14.2 kB / 0.5413 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.5486, allocations: 16.56 kB / 0.5414 GB, free: 5.898 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.0002642/0.5489, allocations: 209 kB / 0.5416 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.549, allocations: 61.23 kB / 0.5416 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.5496, allocations: 258.7 kB / 0.5419 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5496, allocations: 6.375 kB / 0.5419 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5497, allocations: 0 / 0.5419 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.5497, allocations: 1.156 kB / 0.5419 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.5509, allocations: 0.7751 MB / 0.5426 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5509, allocations: 0 / 0.5426 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.5511, allocations: 39.81 kB / 0.5427 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5511, allocations: 1.125 kB / 0.5427 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.5511, allocations: 6.625 kB / 0.5427 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5511, allocations: 4.938 kB / 0.5427 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5511, allocations: 5.031 kB / 0.5427 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.5517, allocations: 401.5 kB / 0.5431 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.5518, allocations: 137 kB / 0.5432 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.5519, allocations: 9.219 kB / 0.5432 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5521, allocations: 14.36 kB / 0.5432 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.5522, allocations: 14.58 kB / 0.5432 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.5522, allocations: 8.859 kB / 0.5432 GB, free: 4.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000857/0.5531, allocations: 0.6503 MB / 0.5439 GB, free: 4.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5531, allocations: 1.219 kB / 0.5439 GB, free: 4.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.5534, allocations: 56.11 kB / 0.5439 GB, free: 4.109 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.001024/0.5545, allocations: 399.1 kB / 0.5443 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.5549, allocations: 148 kB / 0.5445 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5549, allocations: 4 kB / 0.5445 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.5551, allocations: 79.89 kB / 0.5445 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.5557, allocations: 91.59 kB / 0.5446 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.5571, allocations: 0.9144 MB / 0.5455 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.5576, allocations: 0.8614 MB / 0.5464 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.5578, allocations: 79.38 kB / 0.5464 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.5579, allocations: 35.42 kB / 0.5465 GB, free: 1.594 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5579, allocations: 4 kB / 0.5465 GB, free: 1.59 MB / 398.1 MB Notification: Performance of Templates: time 0.00895/0.5668, allocations: 4.042 MB / 0.5504 GB, free: 13.56 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches