Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007597/0.0007596, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008663/0.0008663, allocations: 205.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.7 MB / 246.8 MB, free: 9.719 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.18 MB / 345.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002595, allocations: 11.94 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002036/0.1295, allocations: 1.33 MB / 484.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.1305, allocations: 0.5223 MB / 484.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.1306, allocations: 7.938 kB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1309, allocations: 75.83 kB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1311, allocations: 79.78 kB / 485.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1314, allocations: 83.22 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1315, allocations: 79.81 kB / 485.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1317, allocations: 8 kB / 485.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.1317, allocations: 43.83 kB / 485.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1319, allocations: 51.78 kB / 485.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1319, allocations: 3.984 kB / 485.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.132, allocations: 39.98 kB / 485.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.132, allocations: 19.92 kB / 485.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.1321, allocations: 57.44 kB / 485.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1322, allocations: 99.69 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1322, allocations: 0 / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1323, allocations: 0 / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1323, allocations: 0 / 485.6 MB, free: 1.648 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.0004295/0.1327, allocations: 405.6 kB / 485.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1327, allocations: 8.875 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1328, allocations: 12.75 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.133, allocations: 206.6 kB / 486.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.133, allocations: 384 / 486.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.133, allocations: 8.375 kB / 486.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1332, allocations: 61.78 kB / 486.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1332, allocations: 4 kB / 486.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1332, allocations: 4 kB / 486.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1332, allocations: 0 / 486.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.1333, allocations: 31.97 kB / 486.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1337, allocations: 304.6 kB / 486.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1338, allocations: 46.56 kB / 486.6 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.1339, allocations: 12.95 kB / 486.6 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1339, allocations: 7.984 kB / 486.6 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1339, allocations: 34.56 kB / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1339, allocations: 0 / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008798/0.1348, allocations: 249.1 kB / 486.9 MB, free: 116 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1348, allocations: 51.41 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1351, allocations: 222.7 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1351, allocations: 25.7 kB / 487.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.1352, allocations: 112.1 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1352, allocations: 31.58 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.1352, allocations: 9.719 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1354, allocations: 322.8 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.1355, allocations: 31.98 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.1355, allocations: 23.98 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1357, allocations: 76.89 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1357, allocations: 0 / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002363/0.136, allocations: 121.4 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.136, allocations: 6.5 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.136, allocations: 0 / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.136, allocations: 0 / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1361, allocations: 19.98 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1361, allocations: 0 / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.1362, allocations: 11.94 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1362, allocations: 7.984 kB / 488 MB, free: 15.01 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.0001031/0.1363, allocations: 129.8 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1363, allocations: 7.906 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1366, allocations: 135.1 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1366, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.1367, allocations: 4 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1367, allocations: 7.938 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.1372, allocations: 407.3 kB / 488.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1372, allocations: 7.984 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.1372, allocations: 20.03 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1373, allocations: 3.938 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1373, allocations: 3.984 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1373, allocations: 0 / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1373, allocations: 4 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1375, allocations: 220.5 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.1376, allocations: 88.95 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1376, allocations: 4 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.1377, allocations: 7.984 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1377, allocations: 11.98 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1377, allocations: 4 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1379, allocations: 168.7 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1379, allocations: 0 / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1381, allocations: 23.98 kB / 489.2 MB, free: 13.66 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.0009732/0.1391, allocations: 444.7 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1393, allocations: 75.89 kB / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1393, allocations: 0 / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.1394, allocations: 39.97 kB / 489.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1398, allocations: 27.94 kB / 489.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.1403, allocations: 298.1 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1406, allocations: 0.7004 MB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.986e-05/0.1406, allocations: 20.95 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1407, allocations: 15.44 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1407, allocations: 4 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.003777/0.1445, allocations: 1.284 MB / 492.1 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches