Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2004/0.2004, allocations: 46.1 MB / 344.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 76.88 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.115, allocations: 62.44 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003685/0.1187, allocations: 1.661 MB / 481.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1199, allocations: 0.5262 MB / 482.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.12, allocations: 0 / 482.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1203, allocations: 23.91 kB / 482.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.1206, allocations: 59.77 kB / 482.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.121, allocations: 79.84 kB / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1211, allocations: 63.78 kB / 482.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1213, allocations: 19.92 kB / 482.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.1213, allocations: 15.92 kB / 482.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.1214, allocations: 23.86 kB / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1214, allocations: 0 / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.1215, allocations: 27.98 kB / 482.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.1216, allocations: 15.92 kB / 482.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.1216, allocations: 19.86 kB / 482.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1218, allocations: 67.8 kB / 482.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1218, allocations: 4 kB / 482.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1218, allocations: 0 / 482.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1218, allocations: 0 / 482.5 MB, free: 3.098 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004973/0.1223, allocations: 383.5 kB / 482.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1223, allocations: 8.875 kB / 482.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.1224, allocations: 8.844 kB / 482.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1226, allocations: 184.3 kB / 483.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1226, allocations: 4.375 kB / 483.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1227, allocations: 384 / 483.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1228, allocations: 57.8 kB / 483.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1228, allocations: 3.906 kB / 483.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1229, allocations: 7.938 kB / 483.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1229, allocations: 0 / 483.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.559e-05/0.123, allocations: 19.98 kB / 483.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1233, allocations: 272.9 kB / 483.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.1236, allocations: 38.56 kB / 483.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.1236, allocations: 32.88 kB / 483.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1237, allocations: 0 / 483.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1237, allocations: 30.56 kB / 483.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.1237, allocations: 0 / 483.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006274/0.1243, allocations: 149.5 kB / 483.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1244, allocations: 55.41 kB / 483.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1246, allocations: 150.2 kB / 483.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1246, allocations: 25.7 kB / 483.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.1246, allocations: 100.1 kB / 484 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1247, allocations: 11.81 kB / 484 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.1247, allocations: 13.72 kB / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1249, allocations: 326.8 kB / 484.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.125, allocations: 23.98 kB / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/0.1251, allocations: 15.98 kB / 484.4 MB, free: 1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1252, allocations: 44.83 kB / 484.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1252, allocations: 0 / 484.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001899/0.1254, allocations: 85.52 kB / 484.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1254, allocations: 7.938 kB / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1254, allocations: 0 / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1255, allocations: 8 kB / 484.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.1255, allocations: 11.98 kB / 484.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1256, allocations: 0 / 484.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.1256, allocations: 7.984 kB / 484.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1256, allocations: 0 / 484.6 MB, free: 0.8281 MB / 350.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 8.472e-05/0.1257, allocations: 117.8 kB / 484.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.1258, allocations: 7.906 kB / 484.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.1261, allocations: 101.8 kB / 484.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1261, allocations: 0 / 484.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1261, allocations: 4 kB / 484.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1261, allocations: 3.984 kB / 484.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.1265, allocations: 350.7 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1265, allocations: 0 / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.1266, allocations: 19.92 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1266, allocations: 4 kB / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1267, allocations: 4 kB / 485.2 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1267, allocations: 3.938 kB / 485.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1267, allocations: 0 / 485.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1269, allocations: 175.4 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.127, allocations: 77.11 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.127, allocations: 4 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.1271, allocations: 7.938 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1271, allocations: 7.984 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1271, allocations: 0 / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.164e-05/0.1272, allocations: 125.6 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1272, allocations: 0 / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1275, allocations: 20 kB / 485.6 MB, free: 15.71 MB / 366.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.0009526/0.1284, allocations: 394 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1287, allocations: 47.97 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1287, allocations: 0 / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.1288, allocations: 23.98 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1291, allocations: 19.97 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.1296, allocations: 233.4 kB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1299, allocations: 0.6961 MB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.13, allocations: 15.44 kB / 487 MB, free: 14.37 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.13, allocations: 0 / 487 MB, free: 14.37 MB / 366.1 MB Notification: Performance of Templates: time 0.003147/0.1331, allocations: 1.413 MB / 488.4 MB, free: 12.95 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches