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.001376/0.001376, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2045/0.2045, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 78.98 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 62.45 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.0041/0.1281, allocations: 1.671 MB / 481.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.13, allocations: 1.136 MB / 482.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.1301, allocations: 0 / 482.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.1304, allocations: 31.78 kB / 482.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.1308, allocations: 67.81 kB / 482.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1311, allocations: 79.48 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1313, allocations: 71.81 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1314, allocations: 23.94 kB / 483 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.1315, allocations: 27.91 kB / 483 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1317, allocations: 31.84 kB / 483.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1317, allocations: 7.938 kB / 483.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.132, allocations: 95.94 kB / 483.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.132, allocations: 15.92 kB / 483.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.1321, allocations: 27.8 kB / 483.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1323, allocations: 99.86 kB / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1323, allocations: 0 / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1323, allocations: 0 / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1323, allocations: 7.938 kB / 483.3 MB, free: 2.289 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.0005397/0.1329, allocations: 415.4 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1329, allocations: 12.03 kB / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.133, allocations: 8.844 kB / 483.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1332, allocations: 188.2 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1333, allocations: 8.375 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1333, allocations: 384 / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1335, allocations: 83.44 kB / 484 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1335, allocations: 3.906 kB / 484 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1335, allocations: 4 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1335, allocations: 0 / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1337, allocations: 35.97 kB / 484.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.1341, allocations: 292.8 kB / 484.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1343, allocations: 58.48 kB / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.1343, allocations: 20.98 kB / 484.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1344, allocations: 0 / 484.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1344, allocations: 34.5 kB / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.1344, allocations: 0 / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006589/0.1351, allocations: 181.3 kB / 484.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1351, allocations: 81.11 kB / 484.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1353, allocations: 160.1 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1354, allocations: 25.7 kB / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.1354, allocations: 100 kB / 485 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1355, allocations: 23.66 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1355, allocations: 21.7 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1356, allocations: 318.8 kB / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.1357, allocations: 27.97 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1358, allocations: 41.78 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.136, allocations: 64.7 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.136, allocations: 0 / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002244/0.1362, allocations: 105.7 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1363, allocations: 4 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1363, allocations: 4.031 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1363, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1364, allocations: 19.98 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1364, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.1365, allocations: 12.31 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.1366, allocations: 0 / 485.6 MB, free: 15.74 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 8.749e-05/0.1366, allocations: 121.8 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.1367, allocations: 15.8 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.137, allocations: 114.4 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.137, allocations: 0 / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1371, allocations: 4 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1371, allocations: 3.938 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.1376, allocations: 394.4 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1376, allocations: 4 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.1377, allocations: 15.98 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1377, allocations: 3.938 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1377, allocations: 8 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1377, allocations: 0 / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1377, allocations: 3.984 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.138, allocations: 203.3 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.138, allocations: 81.02 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.1381, allocations: 7.938 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.1381, allocations: 7.984 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.1382, allocations: 4 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.1382, allocations: 7.984 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.699e-05/0.1383, allocations: 113.5 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1383, allocations: 0 / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1386, allocations: 39.98 kB / 486.8 MB, free: 14.51 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.001103/0.1397, allocations: 0.491 MB / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.1399, allocations: 63.91 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.14, allocations: 0 / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.601e-05/0.1401, allocations: 35.97 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1404, allocations: 12 kB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.141, allocations: 249.4 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1413, allocations: 0.6965 MB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.1414, allocations: 23.36 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1414, allocations: 0 / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004262/0.1457, allocations: 2.086 MB / 490.4 MB, free: 10.95 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