Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 75.75 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 62.44 MB / 480 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003283/0.1165, allocations: 1.651 MB / 481.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.1175, allocations: 0.5494 MB / 482.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.1176, allocations: 4 kB / 482.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1179, allocations: 87.69 kB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1182, allocations: 123.5 kB / 482.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1185, allocations: 95.69 kB / 482.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1186, allocations: 87.83 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1188, allocations: 27.98 kB / 482.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.1189, allocations: 43.83 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.119, allocations: 63.75 kB / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.119, allocations: 4 kB / 482.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1191, allocations: 47.98 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.1192, allocations: 27.91 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.1193, allocations: 43.67 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1195, allocations: 115.9 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1195, allocations: 4 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1195, allocations: 0 / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1195, allocations: 4 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005744/0.1201, allocations: 430.8 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1201, allocations: 12.03 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.1202, allocations: 16.69 kB / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1205, allocations: 208 kB / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1205, allocations: 4.375 kB / 483.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.1205, allocations: 4.375 kB / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1207, allocations: 73.78 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1207, allocations: 4 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1208, allocations: 4 kB / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1208, allocations: 0 / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1209, allocations: 43.91 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.1214, allocations: 332.6 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1215, allocations: 62.55 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.1216, allocations: 28.78 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1216, allocations: 3.984 kB / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1217, allocations: 34.72 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1217, allocations: 0 / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001088/0.1228, allocations: 325 kB / 484.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.1229, allocations: 51.41 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.1231, allocations: 239.5 kB / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1232, allocations: 29.64 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.1232, allocations: 112.1 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.1233, allocations: 47.34 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.1234, allocations: 25.72 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1235, allocations: 326.8 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.1236, allocations: 35.98 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.1237, allocations: 39.91 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.1239, allocations: 88.83 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1239, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002445/0.1242, allocations: 137.5 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1242, allocations: 4 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1242, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1242, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1244, allocations: 31.92 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1244, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1244, allocations: 7.984 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.1245, allocations: 4 kB / 485.7 MB, free: 15.34 MB / 366.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 (13): * Single equations (assignments): 13 * 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 9.833e-05/0.1246, allocations: 137.8 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.1246, allocations: 15.81 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.1249, allocations: 163.1 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.125, allocations: 7.875 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.125, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.125, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.1255, allocations: 483 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1255, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.1256, allocations: 23.98 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1256, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.1257, allocations: 4 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1257, allocations: 7.969 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1257, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.126, allocations: 247 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.126, allocations: 88.92 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.126, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.1261, allocations: 11.94 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.1262, allocations: 11.98 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1262, allocations: 4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1263, allocations: 181.2 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1264, allocations: 0 / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1266, allocations: 28 kB / 487.1 MB, free: 13.84 MB / 366.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 (13): * Single equations (assignments): 13 * 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.001066/0.1277, allocations: 456.3 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.128, allocations: 103.8 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.128, allocations: 0 / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1281, allocations: 63.97 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1285, allocations: 15.16 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.1291, allocations: 319.8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1294, allocations: 0.7158 MB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.1294, allocations: 16.53 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.1295, allocations: 31.38 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1295, allocations: 0 / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.00412/0.1336, allocations: 1.535 MB / 490.3 MB, free: 10.71 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches