Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.13 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 81.14 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 62.45 MB / 480.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003342/0.1255, allocations: 1.596 MB / 481.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.1265, allocations: 0.5455 MB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.1266, allocations: 3.938 kB / 482.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.1268, allocations: 27.84 kB / 482.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.1271, allocations: 79.62 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1274, allocations: 107.7 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1276, allocations: 63.84 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1277, allocations: 15.98 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.1278, allocations: 23.86 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.1278, allocations: 23.86 kB / 482.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1279, allocations: 0 / 482.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.1279, allocations: 35.98 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.128, allocations: 23.86 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.128, allocations: 19.81 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1283, allocations: 79.78 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1283, allocations: 4 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1283, allocations: 4 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1283, allocations: 0 / 482.7 MB, free: 2.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005991/0.1289, allocations: 395.2 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1289, allocations: 12.03 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.129, allocations: 8.844 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1292, allocations: 188.8 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1292, allocations: 8.359 kB / 483.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1292, allocations: 3.938 kB / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1294, allocations: 61.61 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1294, allocations: 3.906 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1294, allocations: 0 / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1294, allocations: 0 / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.706e-05/0.1295, allocations: 23.98 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1298, allocations: 280.9 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1301, allocations: 50.5 kB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1301, allocations: 16.94 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1301, allocations: 0 / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1302, allocations: 38.56 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1302, allocations: 0 / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005816/0.1308, allocations: 153.3 kB / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1308, allocations: 51.41 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.131, allocations: 185.5 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.131, allocations: 29.64 kB / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.1311, allocations: 100 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1311, allocations: 19.73 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1311, allocations: 29.7 kB / 484.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1313, allocations: 318.8 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.1314, allocations: 19.98 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.1314, allocations: 19.98 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1316, allocations: 56.77 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1316, allocations: 0 / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001821/0.1318, allocations: 89.56 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1318, allocations: 6.344 kB / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1318, allocations: 0 / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1318, allocations: 3.938 kB / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.1319, allocations: 15.98 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1319, allocations: 0 / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.1319, allocations: 11.94 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.132, allocations: 0 / 484.9 MB, free: 232 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 (5): * Single equations (assignments): 5 * 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 8.708e-05/0.132, allocations: 125.8 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.1321, allocations: 7.906 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.1323, allocations: 101.9 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1324, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1324, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1324, allocations: 3.938 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1328, allocations: 358.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1328, allocations: 64 / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.1329, allocations: 15.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1329, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1329, allocations: 11.94 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1329, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1329, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1332, allocations: 187.3 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.1332, allocations: 81.02 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1332, allocations: 7.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.1333, allocations: 3.984 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1334, allocations: 12.22 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1334, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.746e-05/0.1335, allocations: 131.2 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1335, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1337, allocations: 23.98 kB / 485.9 MB, free: 15.07 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 (5): * Single equations (assignments): 5 * 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.0008995/0.1346, allocations: 409.6 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1348, allocations: 47.97 kB / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1349, allocations: 0 / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.1349, allocations: 31.92 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1353, allocations: 16.22 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1358, allocations: 205.9 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1361, allocations: 0.6963 MB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.214e-05/0.1362, allocations: 23.83 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.1362, allocations: 15.44 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1362, allocations: 0 / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of Templates: time 0.003565/0.1398, allocations: 1.13 MB / 488.5 MB, free: 12.6 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches