Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 115.9 kB / 18.4 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 203.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 83.83 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1291, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003781/0.133, allocations: 1.703 MB / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1341, allocations: 0.5688 MB / 483.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.483e-05/0.1342, allocations: 4 kB / 483.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1345, allocations: 19.84 kB / 483.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1349, allocations: 83.56 kB / 483.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.1353, allocations: 131.2 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1355, allocations: 95.69 kB / 484 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1356, allocations: 16 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.1357, allocations: 43.83 kB / 484.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.1358, allocations: 43.78 kB / 484.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1358, allocations: 4 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.1361, allocations: 111.8 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.1362, allocations: 23.97 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.1362, allocations: 35.73 kB / 484.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.1365, allocations: 171.6 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1366, allocations: 3.984 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1366, allocations: 0 / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1366, allocations: 0 / 484.5 MB, free: 1.453 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.0006922/0.1373, allocations: 427.1 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1373, allocations: 8.031 kB / 484.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.1374, allocations: 12.75 kB / 484.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1376, allocations: 199.8 kB / 485.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1376, allocations: 8.375 kB / 485.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1377, allocations: 7.938 kB / 485.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1379, allocations: 79.38 kB / 485.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.138, allocations: 7.938 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.138, allocations: 4 kB / 485.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.138, allocations: 7.984 kB / 485.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.1383, allocations: 71.86 kB / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1388, allocations: 312.7 kB / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.139, allocations: 74.47 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.1392, allocations: 40.95 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1393, allocations: 0 / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1393, allocations: 38.55 kB / 485.8 MB, free: 16 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1393, allocations: 0 / 485.8 MB, free: 16 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001554/0.1409, allocations: 380.8 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.1409, allocations: 85.05 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1411, allocations: 154.4 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1411, allocations: 29.7 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.1412, allocations: 96.12 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1412, allocations: 27.56 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.1413, allocations: 33.7 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1414, allocations: 322.8 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.1417, allocations: 71.86 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.1419, allocations: 89.67 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.1424, allocations: 144.7 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1424, allocations: 4.031 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005503/0.143, allocations: 189.4 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.143, allocations: 8 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.143, allocations: 3.938 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.143, allocations: 4 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.1433, allocations: 43.89 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1433, allocations: 0 / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1434, allocations: 23.97 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1434, allocations: 4 kB / 487.4 MB, free: 14.25 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.0001048/0.1435, allocations: 117.8 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.1436, allocations: 7.906 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.1442, allocations: 214 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1442, allocations: 4 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1442, allocations: 7.938 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1442, allocations: 0 / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.1451, allocations: 0.4948 MB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1451, allocations: 0 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1453, allocations: 39.89 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1453, allocations: 0 / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1453, allocations: 384 / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1453, allocations: 0 / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1453, allocations: 4 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.1459, allocations: 295.2 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.146, allocations: 85.02 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.146, allocations: 0 / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1462, allocations: 31.95 kB / 488.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.1462, allocations: 4 kB / 488.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1463, allocations: 7.984 kB / 488.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1464, allocations: 122.8 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1464, allocations: 0 / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.1467, allocations: 47.98 kB / 488.9 MB, free: 12.69 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.001118/0.1478, allocations: 499.4 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006243/0.1484, allocations: 159.8 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1485, allocations: 0 / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1487, allocations: 83.86 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.1491, allocations: 26.64 kB / 489.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.1496, allocations: 210.5 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1499, allocations: 0.7041 MB / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.192e-05/0.15, allocations: 12.42 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1501, allocations: 19.42 kB / 490.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1501, allocations: 0 / 490.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of Templates: time 0.005892/0.156, allocations: 2.514 MB / 493.1 MB, free: 8.598 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches