Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001982/0.001982, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.9 MB, free: 9.043 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.12 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 80.58 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 62.44 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003219/0.115, allocations: 1.657 MB / 481.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.116, allocations: 0.53 MB / 482.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.1161, allocations: 0 / 482.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1164, allocations: 23.91 kB / 482.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.1166, allocations: 55.78 kB / 482.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1169, allocations: 87.77 kB / 482.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1171, allocations: 59.91 kB / 482.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.1172, allocations: 11.98 kB / 482.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.1173, allocations: 27.8 kB / 482.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.1173, allocations: 19.86 kB / 482.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1173, allocations: 4 kB / 482.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.1174, allocations: 23.98 kB / 482.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.1175, allocations: 15.98 kB / 482.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.1175, allocations: 19.81 kB / 482.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1177, allocations: 71.84 kB / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1177, allocations: 0 / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1177, allocations: 0 / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1177, allocations: 0 / 482.5 MB, free: 3.109 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.0004574/0.1182, allocations: 391.4 kB / 482.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1182, allocations: 8.875 kB / 482.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.1183, allocations: 8.844 kB / 482.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1184, allocations: 192.2 kB / 483.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1185, allocations: 4.375 kB / 483.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1185, allocations: 12.36 kB / 483.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1186, allocations: 49.81 kB / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1187, allocations: 0 / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1187, allocations: 0 / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1187, allocations: 0 / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.1188, allocations: 19.98 kB / 483.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.1191, allocations: 280.8 kB / 483.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.1193, allocations: 50.55 kB / 483.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.1194, allocations: 12.86 kB / 483.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1194, allocations: 0 / 483.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1195, allocations: 34.56 kB / 483.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1195, allocations: 0 / 483.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005596/0.12, allocations: 145.4 kB / 483.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1201, allocations: 51.41 kB / 483.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1202, allocations: 173 kB / 483.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1203, allocations: 25.7 kB / 484 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.1203, allocations: 100 kB / 484.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1204, allocations: 23.73 kB / 484.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.1204, allocations: 21.72 kB / 484.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1205, allocations: 322.8 kB / 484.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.1206, allocations: 15.92 kB / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.1207, allocations: 19.98 kB / 484.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1208, allocations: 48.83 kB / 484.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1208, allocations: 0 / 484.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001747/0.121, allocations: 81.83 kB / 484.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.121, allocations: 4 kB / 484.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.121, allocations: 4 kB / 484.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.121, allocations: 0 / 484.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.1211, allocations: 19.92 kB / 484.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1211, allocations: 0 / 484.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.1212, allocations: 7.938 kB / 484.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1212, allocations: 0 / 484.6 MB, free: 0.8047 MB / 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.249e-05/0.1213, allocations: 121.8 kB / 484.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1213, allocations: 11.91 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.1215, allocations: 85.97 kB / 484.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1215, allocations: 4 kB / 484.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1215, allocations: 0 / 484.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1216, allocations: 3.938 kB / 484.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.1219, allocations: 354.5 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.122, allocations: 0 / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.122, allocations: 15.98 kB / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.122, allocations: 0 / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.122, allocations: 3.938 kB / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1221, allocations: 0 / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1221, allocations: 0 / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1223, allocations: 183.4 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.1223, allocations: 85.02 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1224, allocations: 3.938 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.1224, allocations: 8.188 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1225, allocations: 4.266 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1225, allocations: 8 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.1226, allocations: 127.2 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1226, allocations: 0 / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1228, allocations: 12 kB / 485.6 MB, free: 15.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 (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.0008799/0.1237, allocations: 402.6 kB / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1239, allocations: 47.91 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1239, allocations: 3.938 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.062e-05/0.124, allocations: 23.98 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1243, allocations: 19.92 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.1248, allocations: 237.5 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.125, allocations: 0.7 MB / 487 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.1251, allocations: 19.44 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1251, allocations: 0 / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Templates: time 0.003006/0.1281, allocations: 1.431 MB / 488.5 MB, free: 12.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches