Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002132/0.002132, allocations: 104.1 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.002352/0.002352, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.618/1.618, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2487/0.2487, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002321/0.002321, allocations: 84.66 kB / 417.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1427, allocations: 62.45 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003565/0.1463, allocations: 1.611 MB / 481.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1475, allocations: 0.5572 MB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.1476, allocations: 0 / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1479, allocations: 79.7 kB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.1483, allocations: 95.64 kB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.1487, allocations: 115.2 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1489, allocations: 91.8 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1491, allocations: 16 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.719e-05/0.1492, allocations: 39.83 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1493, allocations: 51.83 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1494, allocations: 4 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1495, allocations: 43.97 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.1496, allocations: 19.92 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.1496, allocations: 35.75 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1499, allocations: 107.6 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1499, allocations: 0 / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.1499, allocations: 0 / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1499, allocations: 3.938 kB / 483 MB, free: 2.355 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.0005676/0.1505, allocations: 411.2 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1505, allocations: 12.03 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1506, allocations: 8.844 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1508, allocations: 200.8 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1508, allocations: 4.375 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1509, allocations: 8.375 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1511, allocations: 57.73 kB / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1511, allocations: 0 / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1511, allocations: 8 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1511, allocations: 0 / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1512, allocations: 27.97 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.1517, allocations: 304.7 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1518, allocations: 50.48 kB / 484 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.1519, allocations: 16.86 kB / 484 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1519, allocations: 4.062 kB / 484 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1519, allocations: 42.58 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.152, allocations: 0 / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009526/0.1529, allocations: 237 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.153, allocations: 51.41 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1532, allocations: 214.3 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1533, allocations: 33.64 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.1533, allocations: 108.1 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.1534, allocations: 31.55 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1534, allocations: 17.72 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1536, allocations: 322.8 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1537, allocations: 31.97 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.1538, allocations: 31.94 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.154, allocations: 84.8 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.154, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002271/0.1542, allocations: 105.6 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1542, allocations: 4 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1542, allocations: 320 / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1543, allocations: 432 / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1544, allocations: 19.98 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1544, allocations: 3.938 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.1544, allocations: 15.94 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1545, allocations: 3.984 kB / 485.4 MB, free: 15.71 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.0001016/0.1546, allocations: 125.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.1546, allocations: 11.81 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.1549, allocations: 139 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1549, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1549, allocations: 8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.155, allocations: 7.938 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.1555, allocations: 415.3 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1555, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.1556, allocations: 19.92 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.1556, allocations: 7.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1556, allocations: 8.031 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1556, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1556, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1559, allocations: 220.2 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.156, allocations: 88.95 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.156, allocations: 4 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.1561, allocations: 11.98 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1561, allocations: 7.938 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1562, allocations: 11.94 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1563, allocations: 160.2 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1563, allocations: 3.938 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1566, allocations: 19.98 kB / 486.6 MB, free: 14.35 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.001653/0.1582, allocations: 442.5 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.1585, allocations: 79.88 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1585, allocations: 0 / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1586, allocations: 44.03 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.159, allocations: 25.88 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.1596, allocations: 274.8 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.16, allocations: 0.7157 MB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.689e-05/0.16, allocations: 20.64 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.1601, allocations: 11.44 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.164e-06/0.1601, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.004609/0.1647, allocations: 1.396 MB / 489.6 MB, free: 11.46 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches