Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.4 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.2235/0.2235, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 76.05 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 62.44 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003187/0.1239, allocations: 1.669 MB / 481.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009435/0.1249, allocations: 0.5222 MB / 481.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.1249, allocations: 4 kB / 481.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.1252, allocations: 75.83 kB / 481.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1255, allocations: 91.72 kB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1258, allocations: 83.34 kB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.126, allocations: 79.81 kB / 482 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1261, allocations: 19.98 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.1261, allocations: 39.84 kB / 482.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1263, allocations: 55.81 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1263, allocations: 4 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1264, allocations: 43.98 kB / 482.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.1265, allocations: 27.91 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.1265, allocations: 35.69 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1268, allocations: 99.7 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1268, allocations: 7.922 kB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1268, allocations: 0 / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1268, allocations: 0 / 482.3 MB, free: 2.758 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.0005385/0.1273, allocations: 415.2 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1274, allocations: 8.031 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1274, allocations: 12.84 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1276, allocations: 198.7 kB / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1277, allocations: 4.375 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1277, allocations: 4.375 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1279, allocations: 69.66 kB / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1279, allocations: 0 / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1279, allocations: 4 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1279, allocations: 0 / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.128, allocations: 27.97 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.1284, allocations: 300.7 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1285, allocations: 42.5 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.1286, allocations: 16.86 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1286, allocations: 4.078 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1286, allocations: 34.56 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1286, allocations: 0 / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008897/0.1295, allocations: 229.1 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.1296, allocations: 55.34 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1298, allocations: 210.8 kB / 483.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1298, allocations: 29.7 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1299, allocations: 108.1 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1299, allocations: 31.55 kB / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.13, allocations: 17.72 kB / 484.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1301, allocations: 322.8 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.1302, allocations: 23.98 kB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.1303, allocations: 35.97 kB / 484.5 MB, free: 392 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1305, allocations: 60.84 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1305, allocations: 0 / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002106/0.1307, allocations: 101.6 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1307, allocations: 4 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1307, allocations: 0 / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1307, allocations: 0 / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.887e-05/0.1308, allocations: 23.92 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1308, allocations: 0 / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.1309, allocations: 15.92 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1309, allocations: 0 / 484.7 MB, free: 176 kB / 350.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 9.294e-05/0.131, allocations: 125.8 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.131, allocations: 11.81 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.1313, allocations: 119.2 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1313, allocations: 4 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1314, allocations: 0 / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1314, allocations: 11.92 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.1319, allocations: 403.2 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1319, allocations: 4 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.132, allocations: 19.92 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.132, allocations: 7.938 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.132, allocations: 0 / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1321, allocations: 7.969 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1321, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1323, allocations: 204.4 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.1324, allocations: 88.95 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1324, allocations: 4 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.1325, allocations: 7.938 kB / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1325, allocations: 15.92 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1325, allocations: 4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1327, allocations: 164.7 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1327, allocations: 0 / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1329, allocations: 19.98 kB / 485.9 MB, free: 14.86 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.001024/0.134, allocations: 452.1 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1342, allocations: 67.91 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1342, allocations: 0 / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/0.1343, allocations: 32.03 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1347, allocations: 20 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.1352, allocations: 298.7 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1355, allocations: 0.7041 MB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.228e-05/0.1356, allocations: 12.97 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.1356, allocations: 19.38 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1356, allocations: 0 / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Templates: time 0.003776/0.1394, allocations: 1.332 MB / 488.8 MB, free: 12.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches