Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 75.84 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.145, allocations: 62.45 MB / 480 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003463/0.1485, allocations: 1.592 MB / 481.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1505, allocations: 1.171 MB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.1507, allocations: 0 / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.151, allocations: 23.84 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1514, allocations: 91.61 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.1518, allocations: 107.7 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1519, allocations: 63.89 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.152, allocations: 16 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.1521, allocations: 35.78 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.1523, allocations: 31.86 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1523, allocations: 4 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.1525, allocations: 87.94 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.1526, allocations: 15.92 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.1526, allocations: 31.78 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1529, allocations: 131.7 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1529, allocations: 4 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1529, allocations: 0 / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1529, allocations: 0 / 483.4 MB, free: 1.875 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000608/0.1536, allocations: 403.4 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1536, allocations: 8.031 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.1537, allocations: 4.938 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1539, allocations: 204 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1539, allocations: 384 / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.154, allocations: 4.375 kB / 484 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1541, allocations: 67.53 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1542, allocations: 0 / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1542, allocations: 0 / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1542, allocations: 4 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.1543, allocations: 23.97 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1547, allocations: 292.8 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.155, allocations: 42.56 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.155, allocations: 16.94 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1551, allocations: 0 / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.1551, allocations: 38.56 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1551, allocations: 0 / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006352/0.1558, allocations: 157.2 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.1558, allocations: 81.11 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.156, allocations: 144 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.156, allocations: 25.7 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.1561, allocations: 100.1 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1561, allocations: 19.66 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.1562, allocations: 25.7 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1563, allocations: 322.8 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.1564, allocations: 19.92 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.1565, allocations: 37.69 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1566, allocations: 52.83 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1567, allocations: 4.031 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002117/0.1569, allocations: 81.66 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1569, allocations: 8 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1569, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1569, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.157, allocations: 15.92 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.157, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.1571, allocations: 4 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1571, allocations: 7.938 kB / 485.6 MB, free: 15.46 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 (5): * Single equations (assignments): 5 * 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.0001024/0.1572, allocations: 117.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.1573, allocations: 11.89 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.1576, allocations: 89.97 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1576, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1576, allocations: 4.312 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1576, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.1581, allocations: 378.3 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1581, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.1581, allocations: 11.98 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1582, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1582, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.1582, allocations: 3.938 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1582, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1585, allocations: 187.4 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1585, allocations: 81.11 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1586, allocations: 7.984 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.1586, allocations: 3.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1587, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1587, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.698e-05/0.1588, allocations: 117.4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1588, allocations: 7.938 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1591, allocations: 39.98 kB / 486.6 MB, free: 14.31 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 (5): * Single equations (assignments): 5 * 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.001097/0.1602, allocations: 490.9 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.1604, allocations: 55.89 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.1605, allocations: 0 / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.1606, allocations: 31.92 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1609, allocations: 19.11 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.1615, allocations: 173.6 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1617, allocations: 0.6924 MB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.206e-05/0.1618, allocations: 19.98 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1619, allocations: 19.42 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1619, allocations: 3.938 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Templates: time 0.004619/0.1665, allocations: 1.76 MB / 489.9 MB, free: 11.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches