Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 105.8 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.12 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 74.97 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.135, allocations: 62.45 MB / 480.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003426/0.1385, allocations: 1.616 MB / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1397, allocations: 0.5533 MB / 482.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.1398, allocations: 0 / 482.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1401, allocations: 75.7 kB / 483 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1405, allocations: 103.6 kB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.1408, allocations: 111.7 kB / 483.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.141, allocations: 79.83 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1411, allocations: 19.98 kB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.1412, allocations: 39.83 kB / 483.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1413, allocations: 55.83 kB / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1414, allocations: 0 / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1415, allocations: 43.98 kB / 483.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.1415, allocations: 19.92 kB / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.1416, allocations: 39.66 kB / 483.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1418, allocations: 103.7 kB / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1418, allocations: 8 kB / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.1419, allocations: 0 / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1419, allocations: 3.938 kB / 483.6 MB, free: 2.348 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.0006207/0.1425, allocations: 411.2 kB / 484 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1426, allocations: 8.031 kB / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.1426, allocations: 12.84 kB / 484 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1429, allocations: 192.8 kB / 484.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1429, allocations: 4.375 kB / 484.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1429, allocations: 4.375 kB / 484.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1431, allocations: 65.73 kB / 484.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1431, allocations: 0 / 484.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1432, allocations: 4 kB / 484.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1432, allocations: 0 / 484.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1433, allocations: 27.97 kB / 484.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.1438, allocations: 308.7 kB / 484.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1439, allocations: 54.5 kB / 484.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.144, allocations: 20.94 kB / 484.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.144, allocations: 0 / 484.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.1441, allocations: 30.56 kB / 484.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1441, allocations: 0 / 484.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009732/0.1451, allocations: 237.3 kB / 485 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1451, allocations: 63.33 kB / 485 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1454, allocations: 214.3 kB / 485.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1454, allocations: 29.64 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.1455, allocations: 108.1 kB / 485.4 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.1455, allocations: 31.62 kB / 485.4 MB, free: 364 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.1456, allocations: 25.7 kB / 485.4 MB, free: 332 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1457, allocations: 322.8 kB / 485.7 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1459, allocations: 28.09 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.146, allocations: 39.98 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1461, allocations: 72.83 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1462, allocations: 0 / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00023/0.1464, allocations: 109.6 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1464, allocations: 4 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1464, allocations: 0 / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1464, allocations: 7.984 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1466, allocations: 19.92 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1466, allocations: 0 / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.1466, allocations: 11.94 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1466, allocations: 8 kB / 486 MB, free: 15.69 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.0001113/0.1468, allocations: 121.8 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.1468, allocations: 15.81 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.1472, allocations: 139 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1472, allocations: 0 / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1472, allocations: 0 / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.1472, allocations: 3.938 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1479, allocations: 415.3 kB / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1479, allocations: 0 / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.148, allocations: 23.92 kB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.148, allocations: 3.938 kB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.148, allocations: 4 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.148, allocations: 4 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.148, allocations: 4.031 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1483, allocations: 224.6 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.1484, allocations: 88.95 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1484, allocations: 0 / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.1485, allocations: 8 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1486, allocations: 15.92 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1486, allocations: 7.828 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1487, allocations: 160.2 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1487, allocations: 0 / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.149, allocations: 23.98 kB / 487.3 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.001781/0.1508, allocations: 455 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.1511, allocations: 79.89 kB / 487.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1511, allocations: 0 / 487.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1512, allocations: 39.97 kB / 487.8 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.0004049/0.1516, allocations: 23.06 kB / 487.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.1523, allocations: 296.5 kB / 488.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1527, allocations: 0.7156 MB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1527, allocations: 23.42 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.474e-06/0.1527, allocations: 0 / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.004113/0.1568, allocations: 1.802 MB / 490.7 MB, free: 11.03 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches