Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001276, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, 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.2207/0.2207, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00232/0.002321, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5262, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004447/0.5307, allocations: 1.654 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.5323, allocations: 0.5741 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.5324, allocations: 1.375 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.5331, allocations: 457.2 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.5337, allocations: 291.4 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.5343, allocations: 177.4 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.5347, allocations: 174 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.5348, allocations: 22.02 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.535, allocations: 105.9 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.5353, allocations: 219.1 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.5353, allocations: 8.406 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.5354, allocations: 36.7 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.5356, allocations: 83.44 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.943e-05/0.5357, allocations: 99.25 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.5361, allocations: 266.7 kB / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5361, allocations: 0 / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5361, allocations: 1 kB / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.5361, allocations: 0 / 0.535 GB, free: 10.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008678/0.537, allocations: 0.6501 MB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5371, allocations: 16.72 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.5372, allocations: 47.39 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.5375, allocations: 303.4 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5375, allocations: 5.688 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.5375, allocations: 3.625 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.5377, allocations: 59.53 kB / 0.5361 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5377, allocations: 0 / 0.5361 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5378, allocations: 0.9375 kB / 0.5361 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.5378, allocations: 4.953 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.5379, allocations: 28.45 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.5385, allocations: 400.2 kB / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.5388, allocations: 45.72 kB / 0.5366 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.5388, allocations: 20.84 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.5389, allocations: 0 / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.5389, allocations: 35.94 kB / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.5389, allocations: 0 / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007172/0.5396, allocations: 245.2 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.5397, allocations: 52.47 kB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.5407, allocations: 0.8703 MB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5408, allocations: 30.77 kB / 0.5378 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.541, allocations: 226 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.541, allocations: 18.14 kB / 0.538 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.541, allocations: 13.31 kB / 0.538 GB, free: 8.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5412, allocations: 367.8 kB / 0.5384 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.5413, allocations: 20.92 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.5414, allocations: 20.58 kB / 0.5384 GB, free: 8.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.5415, allocations: 63.78 kB / 0.5385 GB, free: 8.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5415, allocations: 0 / 0.5385 GB, free: 8.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002393/0.5418, allocations: 122.5 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5418, allocations: 5.781 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5418, allocations: 0 / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5419, allocations: 1.156 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.5419, allocations: 13.23 kB / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.542, allocations: 1.406 kB / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.542, allocations: 18.8 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.542, allocations: 1.594 kB / 0.5386 GB, free: 8.012 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 (5): * Single equations (assignments): 5 * 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.0002252/0.5423, allocations: 210.6 kB / 0.5388 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.5423, allocations: 42.31 kB / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.5427, allocations: 151.6 kB / 0.539 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5427, allocations: 0 / 0.539 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5427, allocations: 5.406 kB / 0.539 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5427, allocations: 7.922 kB / 0.539 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.5433, allocations: 464.3 kB / 0.5395 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5434, allocations: 8.047 kB / 0.5395 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.5434, allocations: 9.594 kB / 0.5395 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5434, allocations: 1.062 kB / 0.5395 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5434, allocations: 5.031 kB / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5434, allocations: 0 / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5435, allocations: 4 kB / 0.5395 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.5438, allocations: 223 kB / 0.5397 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.5438, allocations: 113.6 kB / 0.5398 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.5439, allocations: 5.219 kB / 0.5398 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.544, allocations: 3.406 kB / 0.5398 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.544, allocations: 9.922 kB / 0.5398 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.544, allocations: 5.344 kB / 0.5398 GB, free: 6.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007762/0.5448, allocations: 0.6537 MB / 0.5405 GB, free: 6.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5448, allocations: 1.25 kB / 0.5405 GB, free: 6.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.5451, allocations: 26.31 kB / 0.5405 GB, free: 6.668 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 (5): * Single equations (assignments): 5 * 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.00109/0.5462, allocations: 399.4 kB / 0.5409 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.5465, allocations: 55.48 kB / 0.5409 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5465, allocations: 5.094 kB / 0.5409 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.5466, allocations: 29.27 kB / 0.541 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.547, allocations: 35.03 kB / 0.541 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.5484, allocations: 0.8095 MB / 0.5418 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.5489, allocations: 0.8257 MB / 0.5426 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.223e-05/0.549, allocations: 20.91 kB / 0.5426 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.549, allocations: 12.72 kB / 0.5426 GB, free: 5.184 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.549, allocations: 0 / 0.5426 GB, free: 5.184 MB / 398.1 MB Notification: Performance of Templates: time 0.005513/0.5545, allocations: 1.502 MB / 0.5441 GB, free: 4.094 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches