Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 46.11 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 87.67 kB / 417.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002825/0.1223, allocations: 1.599 MB / 481.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.1232, allocations: 0.5299 MB / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.1233, allocations: 4 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.1234, allocations: 19.84 kB / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.1237, allocations: 83.61 kB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.124, allocations: 83.72 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1241, allocations: 67.83 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.1242, allocations: 15.98 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.1243, allocations: 27.86 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.1244, allocations: 15.88 kB / 482.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1244, allocations: 4 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.1245, allocations: 39.91 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.1245, allocations: 11.98 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.1246, allocations: 23.81 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1247, allocations: 83.72 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1247, allocations: 4 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1247, allocations: 0 / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1247, allocations: 0 / 482.7 MB, free: 2.59 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.000481/0.1252, allocations: 383.4 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1253, allocations: 8.031 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.1253, allocations: 8.844 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.1255, allocations: 195.1 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-06/0.1255, allocations: 384 / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1255, allocations: 384 / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1257, allocations: 65.73 kB / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1257, allocations: 0 / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1257, allocations: 0 / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1257, allocations: 0 / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1258, allocations: 23.98 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.1261, allocations: 272.8 kB / 483.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1264, allocations: 50.5 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.1264, allocations: 16.94 kB / 483.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1264, allocations: 0 / 483.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1265, allocations: 34.56 kB / 483.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.1265, allocations: 7.922 kB / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005095/0.127, allocations: 145.2 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.1271, allocations: 55.39 kB / 483.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1272, allocations: 165.7 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1272, allocations: 29.7 kB / 484.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.1273, allocations: 100.1 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1273, allocations: 15.75 kB / 484.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.1274, allocations: 17.7 kB / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1275, allocations: 326.8 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.1275, allocations: 15.98 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.1276, allocations: 24.05 kB / 484.6 MB, free: 468 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1277, allocations: 44.78 kB / 484.6 MB, free: 420 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1277, allocations: 0 / 484.6 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.1279, allocations: 85.56 kB / 484.7 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1279, allocations: 8 kB / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.128, allocations: 0 / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.128, allocations: 0 / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.128, allocations: 15.98 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.128, allocations: 0 / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.1281, allocations: 7.938 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1281, allocations: 0 / 484.8 MB, free: 296 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 0.0001239/0.1282, allocations: 117.8 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.1283, allocations: 11.84 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.1285, allocations: 93.97 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1285, allocations: 4 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1285, allocations: 0 / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1285, allocations: 3.938 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.129, allocations: 346.5 kB / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.129, allocations: 4.312 kB / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.129, allocations: 12 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1291, allocations: 0 / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1291, allocations: 11.92 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1291, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1291, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1294, allocations: 171.4 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.1294, allocations: 92.95 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1294, allocations: 3.938 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.1295, allocations: 7.984 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1295, allocations: 7.938 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1296, allocations: 4 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.234e-05/0.1297, allocations: 126.6 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1297, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1299, allocations: 19.98 kB / 485.8 MB, free: 15.17 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.0008231/0.1308, allocations: 402.8 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1309, allocations: 47.97 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1309, allocations: 0 / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.131, allocations: 23.92 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1314, allocations: 15.98 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.1318, allocations: 197.9 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.132, allocations: 0.6924 MB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.788e-05/0.1321, allocations: 15.97 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.1321, allocations: 15.44 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of SimCode: time 1.963e-06/0.1321, allocations: 4 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Templates: time 0.003433/0.1356, allocations: 1.111 MB / 488.3 MB, free: 12.73 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches