Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable1Dv.Test26,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002076/0.002076, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002428/0.002429, allocations: 210.4 kB / 18.58 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.533/1.533, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2467/0.2467, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 82.98 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1314, allocations: 62.45 MB / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003218/0.1346, allocations: 1.608 MB / 481.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1357, allocations: 0.5494 MB / 482.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.1357, allocations: 0 / 482.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.136, allocations: 79.7 kB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.1363, allocations: 103.7 kB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1367, allocations: 111 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1369, allocations: 87.81 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.137, allocations: 19.97 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.137, allocations: 39.84 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1372, allocations: 59.81 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1372, allocations: 4 kB / 482.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.1373, allocations: 39.98 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.1373, allocations: 19.92 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.1374, allocations: 31.75 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1376, allocations: 111.6 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1376, allocations: 3.938 kB / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1376, allocations: 0 / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1376, allocations: 0 / 483 MB, free: 2.395 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.0005382/0.1382, allocations: 419.2 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1382, allocations: 12.02 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.1383, allocations: 8.844 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1385, allocations: 196.8 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1385, allocations: 4.375 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1385, allocations: 384 / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1387, allocations: 57.75 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1387, allocations: 4 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1387, allocations: 4 kB / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1388, allocations: 0 / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1389, allocations: 27.97 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1393, allocations: 312.6 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.1395, allocations: 46.5 kB / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.1395, allocations: 20.94 kB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1396, allocations: 0 / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1396, allocations: 38.5 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1396, allocations: 0 / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009788/0.1406, allocations: 237 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1406, allocations: 55.34 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.1409, allocations: 222.3 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1409, allocations: 25.7 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.141, allocations: 100.1 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.1411, allocations: 31.55 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.1411, allocations: 17.72 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1413, allocations: 330.8 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.1414, allocations: 27.97 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1415, allocations: 40.05 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1417, allocations: 72.77 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1417, allocations: 0 / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002427/0.142, allocations: 113.6 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.142, allocations: 4 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.142, allocations: 4 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.142, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1421, allocations: 19.98 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1421, allocations: 3.938 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.1422, allocations: 11.92 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1422, allocations: 0 / 485.4 MB, free: 15.75 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.0001158/0.1423, allocations: 133.8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.1424, allocations: 12.23 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.1427, allocations: 131.3 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1427, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1427, allocations: 7.984 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.1427, allocations: 7.922 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.1434, allocations: 423.3 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1434, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.1435, allocations: 19.92 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1435, allocations: 7.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1435, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1435, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1435, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.1438, allocations: 224.2 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.1439, allocations: 88.94 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1439, allocations: 4 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.144, allocations: 15.94 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.1441, allocations: 7.922 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1441, allocations: 4 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1442, allocations: 164.2 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1443, allocations: 3.938 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1445, allocations: 20 kB / 486.6 MB, free: 14.39 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.001648/0.1462, allocations: 446.4 kB / 487.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.1465, allocations: 83.86 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1465, allocations: 4 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.325e-05/0.1466, allocations: 35.98 kB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.147, allocations: 18.45 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.1475, allocations: 274.9 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1479, allocations: 0.7157 MB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.148, allocations: 20.95 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.148, allocations: 19.38 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.148, allocations: 0 / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004283/0.1523, allocations: 1.392 MB / 489.6 MB, free: 11.5 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches