Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2177/0.2177, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001592, allocations: 61.42 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1366, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003734/0.1404, allocations: 1.576 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.1413, allocations: 411.2 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.1414, allocations: 0 / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1417, allocations: 71.78 kB / 472 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.142, allocations: 67.73 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.1424, allocations: 94.7 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1426, allocations: 71.81 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1427, allocations: 16.19 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.1428, allocations: 39.83 kB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1429, allocations: 47.89 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.143, allocations: 4 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1431, allocations: 47.97 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.1432, allocations: 15.92 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.1432, allocations: 35.75 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1435, allocations: 95.98 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1435, allocations: 0 / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1435, allocations: 0 / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1435, allocations: 4 kB / 472.5 MB, free: 11.79 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.0005649/0.1441, allocations: 403 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1441, allocations: 23.89 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.1442, allocations: 8.844 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1444, allocations: 192.1 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1444, allocations: 8.375 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1445, allocations: 384 / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1446, allocations: 61.61 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1447, allocations: 3.906 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1447, allocations: 0 / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1447, allocations: 0 / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1448, allocations: 31.91 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1452, allocations: 284.8 kB / 473.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.1454, allocations: 42.66 kB / 473.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1454, allocations: 24.78 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1455, allocations: 0 / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.1455, allocations: 34.56 kB / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1455, allocations: 0 / 473.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0011/0.1466, allocations: 229.2 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1467, allocations: 51.41 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.1469, allocations: 210.1 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1469, allocations: 29.7 kB / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.147, allocations: 112 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.147, allocations: 27.64 kB / 474.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.1471, allocations: 17.72 kB / 474.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1472, allocations: 322.8 kB / 474.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.1473, allocations: 19.98 kB / 474.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.1474, allocations: 27.98 kB / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1476, allocations: 68.77 kB / 474.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1476, allocations: 0 / 474.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002242/0.1478, allocations: 101.5 kB / 474.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1478, allocations: 8 kB / 474.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1478, allocations: 0 / 474.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1479, allocations: 3.938 kB / 474.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.148, allocations: 15.98 kB / 474.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.148, allocations: 7.938 kB / 474.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.1481, allocations: 12 kB / 474.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1481, allocations: 4 kB / 474.8 MB, free: 9.223 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 (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.0001048/0.1482, allocations: 125.8 kB / 475 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1482, allocations: 11.91 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.1485, allocations: 114.4 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1485, allocations: 0 / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1485, allocations: 3.938 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1485, allocations: 4 kB / 475.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.1491, allocations: 407.5 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1491, allocations: 0 / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.1492, allocations: 15.94 kB / 475.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1492, allocations: 7.938 kB / 475.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1492, allocations: 3.984 kB / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1492, allocations: 4.031 kB / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1492, allocations: 0 / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1495, allocations: 204.3 kB / 475.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.1495, allocations: 88.95 kB / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1496, allocations: 0 / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.1497, allocations: 8 kB / 475.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1497, allocations: 11.98 kB / 475.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1497, allocations: 4 kB / 475.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1498, allocations: 155.2 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1498, allocations: 0 / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1501, allocations: 16 kB / 476 MB, free: 7.949 MB / 350.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.001061/0.1512, allocations: 465.4 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1514, allocations: 59.95 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1515, allocations: 0 / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.1516, allocations: 39.92 kB / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1519, allocations: 31.64 kB / 476.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.1525, allocations: 264.8 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1527, allocations: 0.7157 MB / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.1528, allocations: 11.44 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1528, allocations: 0 / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Templates: time 0.00373/0.1565, allocations: 1.697 MB / 479.3 MB, free: 4.801 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches