Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008499/0.0008499, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 205.5 kB / 18.29 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.462/1.462, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00219/0.1266, allocations: 1.412 MB / 484.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1278, allocations: 0.5808 MB / 485.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.372e-05/0.1279, allocations: 0 / 485.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.1282, allocations: 31.86 kB / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1285, allocations: 63.75 kB / 485.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.129, allocations: 166.6 kB / 485.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1292, allocations: 91.7 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1293, allocations: 19.98 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.1294, allocations: 35.84 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.1295, allocations: 39.77 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1295, allocations: 4 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.1297, allocations: 95.89 kB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1298, allocations: 23.91 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.1299, allocations: 57.5 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1302, allocations: 167.8 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1302, allocations: 0 / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1302, allocations: 0 / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1302, allocations: 0 / 485.9 MB, free: 1.371 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.0006913/0.1309, allocations: 435.1 kB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.131, allocations: 8.031 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.131, allocations: 8.844 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1313, allocations: 196.7 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1313, allocations: 4.375 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1313, allocations: 11.92 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1317, allocations: 111.3 kB / 486.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1317, allocations: 4 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1317, allocations: 0 / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1317, allocations: 0 / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.132, allocations: 91.92 kB / 486.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.1327, allocations: 352.8 kB / 487.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.133, allocations: 90.47 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.1332, allocations: 60.94 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1332, allocations: 4 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1333, allocations: 34.5 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1333, allocations: 0 / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001819/0.1351, allocations: 0.501 MB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.1352, allocations: 88.98 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1353, allocations: 158.5 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1354, allocations: 25.7 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.1354, allocations: 96.14 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.1355, allocations: 35.61 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1355, allocations: 13.72 kB / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1356, allocations: 326.8 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.136, allocations: 99.91 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.1363, allocations: 117.6 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/0.1369, allocations: 212.7 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.137, allocations: 4 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007279/0.1377, allocations: 257.3 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1377, allocations: 7.938 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1377, allocations: 384 / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1377, allocations: 0 / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.138, allocations: 51.84 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.138, allocations: 7.984 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1382, allocations: 39.91 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1382, allocations: 4 kB / 489.3 MB, free: 13.73 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 (10): * Single equations (assignments): 10 * 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.0001074/0.1383, allocations: 117.8 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1384, allocations: 7.906 kB / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008078/0.1392, allocations: 278.1 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1392, allocations: 7.922 kB / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1392, allocations: 0 / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1392, allocations: 4 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.1404, allocations: 0.5568 MB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1404, allocations: 3.938 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.1406, allocations: 51.95 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1406, allocations: 0 / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1406, allocations: 0 / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1406, allocations: 0 / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1406, allocations: 0 / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.1414, allocations: 351.2 kB / 490.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.1415, allocations: 85 kB / 490.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1415, allocations: 4 kB / 490.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1417, allocations: 39.95 kB / 490.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.1418, allocations: 11.98 kB / 490.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1418, allocations: 0 / 490.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1419, allocations: 126.5 kB / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1419, allocations: 288 / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.1423, allocations: 51.98 kB / 490.9 MB, free: 11.95 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 (9): * Single equations (assignments): 9 * 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.001237/0.1436, allocations: 496.9 kB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.1443, allocations: 219.8 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1443, allocations: 0 / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.1447, allocations: 111.8 kB / 491.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1451, allocations: 28.98 kB / 491.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.1456, allocations: 273.3 kB / 492 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1459, allocations: 0.7043 MB / 492.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1461, allocations: 32.52 kB / 492.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.1461, allocations: 19.42 kB / 492.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 1.783e-06/0.1461, allocations: 0 / 492.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of Templates: time 0.00577/0.1519, allocations: 2.363 MB / 495.2 MB, free: 7.836 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches