Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 419 MB, free: 19.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 62.46 MB / 481.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002942/0.1222, allocations: 1.607 MB / 483.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.1232, allocations: 0.5338 MB / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.1233, allocations: 0 / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.1236, allocations: 131.6 kB / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.1239, allocations: 119.6 kB / 483.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1242, allocations: 99.64 kB / 484 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1244, allocations: 103.7 kB / 484.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1245, allocations: 15.98 kB / 484.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.1246, allocations: 43.88 kB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1247, allocations: 79.8 kB / 484.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1247, allocations: 8 kB / 484.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.1248, allocations: 47.92 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.1249, allocations: 27.91 kB / 484.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.1249, allocations: 39.67 kB / 484.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1251, allocations: 119.6 kB / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1251, allocations: 0 / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1251, allocations: 0 / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1252, allocations: 4 kB / 484.4 MB, free: 1.598 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004588/0.1256, allocations: 430.7 kB / 484.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1257, allocations: 12.03 kB / 484.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1257, allocations: 16.75 kB / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1259, allocations: 208 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1259, allocations: 4.375 kB / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.126, allocations: 4.375 kB / 485.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1261, allocations: 65.72 kB / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1261, allocations: 0 / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1262, allocations: 4 kB / 485.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1262, allocations: 0 / 485.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/0.1263, allocations: 23.98 kB / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.1266, allocations: 316.6 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1267, allocations: 42.5 kB / 485.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1268, allocations: 20.94 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1268, allocations: 0 / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1269, allocations: 34.56 kB / 485.6 MB, free: 284 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1269, allocations: 0 / 485.6 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008014/0.1277, allocations: 228.9 kB / 485.8 MB, free: 48 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1277, allocations: 51.41 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.128, allocations: 287.7 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.128, allocations: 25.7 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.1281, allocations: 120.1 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.1281, allocations: 23.62 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1281, allocations: 21.7 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1282, allocations: 326.8 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.1283, allocations: 31.86 kB / 486.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.1284, allocations: 27.98 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1285, allocations: 60.89 kB / 486.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1285, allocations: 0 / 486.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001796/0.1287, allocations: 105.5 kB / 486.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1287, allocations: 8 kB / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1287, allocations: 0 / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1288, allocations: 0 / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.1289, allocations: 23.92 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1289, allocations: 4 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.1289, allocations: 3.938 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1289, allocations: 4 kB / 486.9 MB, free: 14.89 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 (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 9.146e-05/0.129, allocations: 133.8 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.1291, allocations: 15.81 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.1293, allocations: 119 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1293, allocations: 11.98 kB / 487.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1294, allocations: 0 / 487.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1294, allocations: 3.938 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.1298, allocations: 415.2 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1298, allocations: 0 / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.1299, allocations: 19.98 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1299, allocations: 3.938 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1299, allocations: 8.453 kB / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.13, allocations: 4.469 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.13, allocations: 0 / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1302, allocations: 216.1 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1303, allocations: 96.84 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1303, allocations: 0 / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.1304, allocations: 11.98 kB / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1304, allocations: 7.984 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1304, allocations: 8 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1306, allocations: 201.5 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1306, allocations: 4 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1308, allocations: 23.98 kB / 488.2 MB, free: 13.5 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 (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.001002/0.1318, allocations: 447.1 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1321, allocations: 63.89 kB / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1321, allocations: 0 / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.151e-05/0.1322, allocations: 43.97 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1325, allocations: 24.06 kB / 488.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.133, allocations: 308.2 kB / 489.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1333, allocations: 0.7197 MB / 489.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.612e-05/0.1334, allocations: 12.95 kB / 489.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.1334, allocations: 19.44 kB / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1334, allocations: 0 / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Templates: time 0.003672/0.1371, allocations: 1.387 MB / 491.2 MB, free: 10.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches