Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 106.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 78.75 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 62.44 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003371/0.13, allocations: 1.742 MB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1311, allocations: 0.5495 MB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.1311, allocations: 4 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1315, allocations: 71.83 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1318, allocations: 87.67 kB / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.1321, allocations: 123.3 kB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1323, allocations: 83.75 kB / 481.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1324, allocations: 20.22 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.1325, allocations: 35.84 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1327, allocations: 51.81 kB / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1327, allocations: 4 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1328, allocations: 47.98 kB / 482.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1329, allocations: 31.91 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.133, allocations: 43.61 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.1332, allocations: 103.7 kB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1332, allocations: 0 / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1332, allocations: 0 / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1332, allocations: 0 / 482.3 MB, free: 2.723 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006737/0.1339, allocations: 431.2 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.134, allocations: 8.031 kB / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.134, allocations: 8.844 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1343, allocations: 198.7 kB / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1343, allocations: 8.375 kB / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1343, allocations: 8.281 kB / 482.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1345, allocations: 73.73 kB / 483 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1346, allocations: 0 / 483 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1346, allocations: 3.938 kB / 483 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1346, allocations: 4 kB / 483 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1347, allocations: 39.95 kB / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.1352, allocations: 312.7 kB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1355, allocations: 50.56 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.1356, allocations: 28.95 kB / 483.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1356, allocations: 4 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.1357, allocations: 42.59 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1357, allocations: 0 / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001429/0.1371, allocations: 388.8 kB / 483.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1372, allocations: 55.34 kB / 483.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1374, allocations: 214.9 kB / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1374, allocations: 25.7 kB / 484.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.1375, allocations: 108 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.1375, allocations: 43.39 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.1376, allocations: 17.72 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1378, allocations: 326.8 kB / 484.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1379, allocations: 43.97 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.138, allocations: 55.94 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.1383, allocations: 96.75 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1383, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002957/0.1386, allocations: 153.5 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1386, allocations: 6.969 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1386, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1386, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1387, allocations: 31.86 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1388, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.154e-05/0.1388, allocations: 11.98 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1388, allocations: 4 kB / 485 MB, free: 15.76 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 (11): * Single equations (assignments): 11 * 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.0001159/0.139, allocations: 133.8 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.139, allocations: 15.81 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.1394, allocations: 163.5 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1394, allocations: 3.938 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.1394, allocations: 4 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1395, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.1402, allocations: 487.9 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1402, allocations: 0 / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1403, allocations: 27.92 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1403, allocations: 4 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.1403, allocations: 8.047 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1403, allocations: 7.938 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1403, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1407, allocations: 249 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1408, allocations: 88.92 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1408, allocations: 4 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.1409, allocations: 7.984 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.141, allocations: 15.94 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.141, allocations: 3.984 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1411, allocations: 164.8 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1412, allocations: 3.938 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1414, allocations: 24 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001085/0.1425, allocations: 447.8 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.1429, allocations: 111.9 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1429, allocations: 0 / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.143, allocations: 63.84 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1435, allocations: 24.86 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.1442, allocations: 338.8 kB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1445, allocations: 0.72 MB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.1446, allocations: 16.53 kB / 488.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1446, allocations: 15.44 kB / 488.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1447, allocations: 4 kB / 488.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Templates: time 0.004386/0.149, allocations: 1.474 MB / 489.6 MB, free: 11.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches