Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001652/0.001652, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001871, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.12 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 73.72 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1249, allocations: 62.45 MB / 480.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003496/0.1285, allocations: 1.68 MB / 481.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1304, allocations: 1.136 MB / 483 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.1305, allocations: 0 / 483 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.1308, allocations: 23.84 kB / 483.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1311, allocations: 67.81 kB / 483.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1314, allocations: 87.36 kB / 483.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1316, allocations: 71.81 kB / 483.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1317, allocations: 23.98 kB / 483.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.1318, allocations: 19.88 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.132, allocations: 43.77 kB / 483.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1321, allocations: 8 kB / 483.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.1323, allocations: 99.94 kB / 483.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.1323, allocations: 19.92 kB / 483.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.1324, allocations: 35.72 kB / 483.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1326, allocations: 99.86 kB / 483.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1326, allocations: 0 / 483.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1326, allocations: 0 / 483.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1327, allocations: 0 / 483.6 MB, free: 2.156 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000608/0.1333, allocations: 415.3 kB / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1333, allocations: 8.031 kB / 484 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1334, allocations: 8.844 kB / 484 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1336, allocations: 198.6 kB / 484.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.1337, allocations: 384 / 484.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1337, allocations: 4.375 kB / 484.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1339, allocations: 87.44 kB / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1339, allocations: 7.906 kB / 484.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1339, allocations: 0 / 484.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.134, allocations: 0 / 484.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1341, allocations: 35.97 kB / 484.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.1345, allocations: 296.8 kB / 484.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1347, allocations: 50.5 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.1347, allocations: 20.97 kB / 484.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1348, allocations: 4 kB / 484.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1348, allocations: 38.56 kB / 484.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1348, allocations: 3.938 kB / 484.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006981/0.1355, allocations: 177.3 kB / 484.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.1356, allocations: 81.11 kB / 485 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1358, allocations: 145.8 kB / 485.2 MB, free: 416 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1358, allocations: 33.7 kB / 485.2 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1359, allocations: 96.03 kB / 485.3 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1359, allocations: 27.64 kB / 485.3 MB, free: 248 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.136, allocations: 21.72 kB / 485.3 MB, free: 220 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1362, allocations: 326.8 kB / 485.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.1363, allocations: 23.98 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1364, allocations: 41.64 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1366, allocations: 60.83 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1366, allocations: 0 / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002292/0.1368, allocations: 101.5 kB / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1368, allocations: 10.34 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1368, allocations: 320 / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1369, allocations: 0 / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.137, allocations: 19.98 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.137, allocations: 7.969 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.1371, allocations: 12.3 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1371, allocations: 3.984 kB / 485.9 MB, free: 15.6 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 0.0001032/0.1372, allocations: 117.8 kB / 486.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.1372, allocations: 11.81 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.1376, allocations: 114.4 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1376, allocations: 11.98 kB / 486.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1376, allocations: 0 / 486.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1376, allocations: 3.938 kB / 486.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.1382, allocations: 390.4 kB / 486.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1382, allocations: 0 / 486.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.852e-05/0.1383, allocations: 19.98 kB / 486.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1383, allocations: 3.938 kB / 486.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1383, allocations: 4 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1383, allocations: 0 / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1383, allocations: 7.984 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1386, allocations: 187.4 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.1387, allocations: 96.94 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1387, allocations: 3.938 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.1388, allocations: 8 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.1388, allocations: 7.984 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1389, allocations: 0 / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.139, allocations: 123.2 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.139, allocations: 0 / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1393, allocations: 32 kB / 487.1 MB, free: 14.37 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 (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.001771/0.1411, allocations: 500 kB / 487.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.1414, allocations: 79.89 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1414, allocations: 0 / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1415, allocations: 35.92 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1419, allocations: 19.98 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.1425, allocations: 243.8 kB / 487.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1429, allocations: 0.6963 MB / 488.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.1429, allocations: 15.44 kB / 488.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.143, allocations: 0 / 488.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Templates: time 0.00472/0.1477, allocations: 2.085 MB / 490.7 MB, free: 10.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches