Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000948/0.0009483, allocations: 97.98 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009757/0.0009759, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.8 MB / 246.9 MB, free: 9.73 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.2545/0.2545, allocations: 46.2 MB / 345.3 MB, free: 11.16 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.0002935/0.0002935, allocations: 11.98 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 63.57 MB / 483.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003071/0.1392, allocations: 1.33 MB / 484.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1405, allocations: 0.5223 MB / 485 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.1406, allocations: 0 / 485 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1409, allocations: 71.77 kB / 485.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.1413, allocations: 87.78 kB / 485.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.1416, allocations: 78.72 kB / 485.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1419, allocations: 83.81 kB / 485.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.142, allocations: 15.98 kB / 485.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.1421, allocations: 31.84 kB / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1422, allocations: 47.83 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1422, allocations: 4 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1424, allocations: 43.92 kB / 485.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.1425, allocations: 23.92 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.1425, allocations: 61.42 kB / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1428, allocations: 103.6 kB / 485.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1428, allocations: 0 / 485.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1428, allocations: 0 / 485.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1428, allocations: 0 / 485.7 MB, free: 1.582 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.0006813/0.1435, allocations: 399.4 kB / 486 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.1436, allocations: 8.031 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.1436, allocations: 20.75 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1439, allocations: 198.7 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1439, allocations: 384 / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.144, allocations: 8.312 kB / 486.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1442, allocations: 57.8 kB / 486.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1442, allocations: 0 / 486.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1442, allocations: 4 kB / 486.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1442, allocations: 3.984 kB / 486.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1443, allocations: 31.98 kB / 486.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.1448, allocations: 304.6 kB / 486.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.145, allocations: 46.5 kB / 486.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.1451, allocations: 20.86 kB / 486.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1451, allocations: 96 / 486.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1451, allocations: 38.55 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1451, allocations: 0 / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001024/0.1462, allocations: 249.1 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.1463, allocations: 51.41 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.1465, allocations: 214.7 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1466, allocations: 33.64 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.1467, allocations: 108.1 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.1467, allocations: 31.7 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.1467, allocations: 13.72 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1469, allocations: 322.8 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.147, allocations: 27.98 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.1471, allocations: 31.98 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1473, allocations: 72.83 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1473, allocations: 0 / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002608/0.1476, allocations: 105.5 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1476, allocations: 4 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1476, allocations: 0 / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1476, allocations: 4 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1478, allocations: 31.92 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1478, allocations: 0 / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.1478, allocations: 7.938 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.1478, allocations: 4 kB / 488.1 MB, free: 14.95 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.0001143/0.148, allocations: 125.8 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.148, allocations: 15.84 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1483, allocations: 143.1 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1483, allocations: 0 / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1484, allocations: 4 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1484, allocations: 3.938 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.149, allocations: 411.3 kB / 488.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.149, allocations: 0 / 488.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.1491, allocations: 19.98 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.1491, allocations: 3.938 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1491, allocations: 4 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1491, allocations: 3.984 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1491, allocations: 4.031 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.1494, allocations: 212.1 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.1495, allocations: 96.94 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1496, allocations: 4 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.1496, allocations: 8 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1497, allocations: 4.406 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1497, allocations: 4 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.1499, allocations: 172.7 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1499, allocations: 0 / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1502, allocations: 19.98 kB / 489.3 MB, free: 13.61 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.001724/0.1519, allocations: 444.4 kB / 489.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1522, allocations: 75.91 kB / 489.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1522, allocations: 0 / 489.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.996e-05/0.1523, allocations: 39.97 kB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1526, allocations: 23.86 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/0.1532, allocations: 298.1 kB / 490.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1536, allocations: 0.7122 MB / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.1537, allocations: 16.95 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.1537, allocations: 11.44 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1537, allocations: 0 / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.004302/0.158, allocations: 1.29 MB / 492.2 MB, free: 10.82 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches