Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001083, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2026/0.2026, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 74.8 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003272/0.1155, allocations: 1.656 MB / 483.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1165, allocations: 0.5377 MB / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.1166, allocations: 4 kB / 483.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1169, allocations: 95.67 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1172, allocations: 111.6 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1175, allocations: 99.56 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.1177, allocations: 99.8 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1178, allocations: 19.98 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.1179, allocations: 47.77 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.118, allocations: 63.83 kB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.118, allocations: 4 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.1181, allocations: 51.97 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.1182, allocations: 23.86 kB / 484.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.1182, allocations: 43.67 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1184, allocations: 135.5 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1185, allocations: 0 / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1185, allocations: 0 / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1185, allocations: 0 / 484.4 MB, free: 1.527 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005272/0.119, allocations: 430.9 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1191, allocations: 8.031 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1191, allocations: 16.75 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1194, allocations: 204 kB / 485.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1194, allocations: 8.312 kB / 485.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1194, allocations: 8.375 kB / 485.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1196, allocations: 73.72 kB / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1196, allocations: 0 / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1196, allocations: 7.984 kB / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1196, allocations: 0 / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.1198, allocations: 43.97 kB / 485.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.1202, allocations: 328.6 kB / 485.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1203, allocations: 66.48 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.1204, allocations: 20.84 kB / 485.6 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1204, allocations: 4 kB / 485.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1205, allocations: 38.56 kB / 485.7 MB, free: 136 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1205, allocations: 0 / 485.7 MB, free: 136 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009756/0.1215, allocations: 317 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1215, allocations: 55.41 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.1217, allocations: 239.5 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1218, allocations: 29.7 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.1218, allocations: 108.1 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1219, allocations: 43.3 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1219, allocations: 25.72 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.122, allocations: 330.8 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.1221, allocations: 35.98 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.1222, allocations: 39.97 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1224, allocations: 88.7 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1224, allocations: 0 / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002451/0.1227, allocations: 137.4 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1227, allocations: 10.5 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1227, allocations: 4 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1227, allocations: 3.938 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1228, allocations: 23.98 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1228, allocations: 0 / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.1229, allocations: 7.984 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1229, allocations: 8 kB / 487.1 MB, free: 14.59 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001098/0.123, allocations: 129.8 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.1231, allocations: 19.75 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.1234, allocations: 171.4 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1234, allocations: 7.938 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1234, allocations: 0 / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1235, allocations: 0 / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.1241, allocations: 483 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1241, allocations: 0 / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.823e-05/0.1242, allocations: 31.95 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1242, allocations: 0 / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1242, allocations: 12 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1242, allocations: 0 / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1242, allocations: 3.984 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.1245, allocations: 252.1 kB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.1246, allocations: 88.92 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1246, allocations: 0 / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.1247, allocations: 8 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1247, allocations: 11.92 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1247, allocations: 4 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1249, allocations: 185.2 kB / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1249, allocations: 0 / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1252, allocations: 20 kB / 488.5 MB, free: 13.09 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 (13): * Single equations (assignments): 13 * 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.0009845/0.1261, allocations: 452.8 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1264, allocations: 99.89 kB / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1264, allocations: 0 / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1265, allocations: 55.91 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1269, allocations: 22.47 kB / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.1275, allocations: 311.8 kB / 489.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1277, allocations: 0.7197 MB / 490.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.1278, allocations: 16.53 kB / 490.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1279, allocations: 15.44 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1279, allocations: 7.938 kB / 490.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of Templates: time 0.0041/0.132, allocations: 1.551 MB / 491.8 MB, free: 9.961 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches