Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, 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.00134/0.00134, 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.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 77.56 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1075, allocations: 62.45 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00303/0.1105, allocations: 1.657 MB / 481.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.1116, allocations: 0.5262 MB / 482.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.1116, allocations: 7.875 kB / 482.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1119, allocations: 23.91 kB / 482.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1121, allocations: 63.77 kB / 482.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1125, allocations: 99.81 kB / 482.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1126, allocations: 63.83 kB / 482.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.1127, allocations: 15.97 kB / 482.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.1128, allocations: 19.88 kB / 482.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.1128, allocations: 31.78 kB / 482.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1129, allocations: 4 kB / 482.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.1129, allocations: 27.98 kB / 482.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.113, allocations: 19.98 kB / 482.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.113, allocations: 19.81 kB / 482.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.1132, allocations: 63.84 kB / 482.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1132, allocations: 0 / 482.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1132, allocations: 0 / 482.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1132, allocations: 0 / 482.6 MB, free: 3.086 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.0004584/0.1137, allocations: 387.5 kB / 482.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1137, allocations: 8.875 kB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1138, allocations: 8.844 kB / 483 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.114, allocations: 200.1 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.114, allocations: 384 / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.114, allocations: 384 / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1142, allocations: 53.8 kB / 483.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1142, allocations: 0 / 483.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1142, allocations: 4 kB / 483.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1142, allocations: 4 kB / 483.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/0.1143, allocations: 19.98 kB / 483.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.1147, allocations: 296.8 kB / 483.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1149, allocations: 42.56 kB / 483.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.115, allocations: 16.94 kB / 483.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.115, allocations: 4 kB / 483.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.115, allocations: 34.56 kB / 483.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.115, allocations: 0 / 483.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005675/0.1156, allocations: 153.2 kB / 483.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.1157, allocations: 51.41 kB / 483.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1158, allocations: 173.2 kB / 484 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1159, allocations: 29.7 kB / 484 MB, free: 1.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.1159, allocations: 104.1 kB / 484.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1159, allocations: 11.75 kB / 484.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.116, allocations: 21.72 kB / 484.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1161, allocations: 318.8 kB / 484.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.1162, allocations: 19.98 kB / 484.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.1163, allocations: 27.86 kB / 484.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1164, allocations: 60.81 kB / 484.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1164, allocations: 0 / 484.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001872/0.1166, allocations: 81.58 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1166, allocations: 8 kB / 484.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1166, allocations: 0 / 484.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1166, allocations: 0 / 484.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.1167, allocations: 11.98 kB / 484.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1167, allocations: 4 kB / 484.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.1168, allocations: 7.922 kB / 484.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1168, allocations: 11.94 kB / 484.7 MB, free: 0.7344 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.241e-05/0.1169, allocations: 113.8 kB / 484.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1169, allocations: 7.906 kB / 484.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1172, allocations: 97.95 kB / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1172, allocations: 0 / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1172, allocations: 320 / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1172, allocations: 3.938 kB / 484.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1176, allocations: 366.5 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1176, allocations: 0 / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.1177, allocations: 15.98 kB / 485.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1177, allocations: 0 / 485.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1178, allocations: 3.938 kB / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1178, allocations: 0 / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1178, allocations: 0 / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.118, allocations: 187.6 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1181, allocations: 85.02 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1181, allocations: 3.938 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.1182, allocations: 15.97 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.1182, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1182, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.688e-05/0.1183, allocations: 135.2 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1184, allocations: 0 / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1186, allocations: 19.98 kB / 485.7 MB, free: 15.59 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.0008765/0.1195, allocations: 397.4 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1197, allocations: 47.97 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1197, allocations: 0 / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.1198, allocations: 35.86 kB / 486.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1201, allocations: 19.92 kB / 486.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.1206, allocations: 245.5 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1209, allocations: 0.7113 MB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.121, allocations: 11.44 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.121, allocations: 0 / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of Templates: time 0.003022/0.124, allocations: 1.47 MB / 488.7 MB, free: 12.74 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches