Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001562, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.5 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.17 MB / 336.8 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 68.48 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002893/0.11, allocations: 1.645 MB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007585/0.1108, allocations: 399.3 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.1109, allocations: 0 / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1112, allocations: 119.8 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1114, allocations: 83.77 kB / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1117, allocations: 79.78 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1119, allocations: 83.8 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.112, allocations: 16.17 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.112, allocations: 47.78 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1122, allocations: 83.83 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1122, allocations: 0 / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.1123, allocations: 43.92 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.1124, allocations: 23.92 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.1124, allocations: 35.69 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1126, allocations: 84.16 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1126, allocations: 0 / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1126, allocations: 0 / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1126, allocations: 0 / 471.9 MB, free: 12.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004631/0.1131, allocations: 434.8 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1131, allocations: 12.03 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.1131, allocations: 8.844 kB / 472.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1133, allocations: 207.9 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1133, allocations: 4.375 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1134, allocations: 4.375 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1135, allocations: 49.62 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1135, allocations: 4 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1136, allocations: 4 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1136, allocations: 3.938 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1137, allocations: 35.91 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.114, allocations: 300.7 kB / 472.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1142, allocations: 42.56 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1142, allocations: 24.94 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1142, allocations: 0 / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1143, allocations: 38.5 kB / 473 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1143, allocations: 0 / 473 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000933/0.1152, allocations: 221.4 kB / 473.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1153, allocations: 51.41 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1155, allocations: 274.2 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1155, allocations: 25.7 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.1156, allocations: 116 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1157, allocations: 23.64 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1157, allocations: 21.72 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1158, allocations: 330.8 kB / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.1159, allocations: 19.98 kB / 474.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-05/0.116, allocations: 27.97 kB / 474.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1162, allocations: 57.16 kB / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1162, allocations: 0 / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002539/0.1164, allocations: 121.5 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1165, allocations: 7.938 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1165, allocations: 0 / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1165, allocations: 3.984 kB / 474.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1166, allocations: 19.98 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1166, allocations: 3.938 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.1167, allocations: 4 kB / 474.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1167, allocations: 0 / 474.3 MB, free: 9.418 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 (8): * Single equations (assignments): 8 * 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 9.528e-05/0.1168, allocations: 134.4 kB / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.1169, allocations: 23.8 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.1171, allocations: 119 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1171, allocations: 3.938 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1172, allocations: 11.92 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1172, allocations: 0 / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.1177, allocations: 411.3 kB / 475 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1177, allocations: 0 / 475 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.1178, allocations: 19.92 kB / 475.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1178, allocations: 0 / 475.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1178, allocations: 4 kB / 475.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1178, allocations: 0 / 475.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1178, allocations: 3.938 kB / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.118, allocations: 212.2 kB / 475.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.1181, allocations: 92.86 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1181, allocations: 0 / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.1182, allocations: 4 kB / 475.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.1183, allocations: 7.984 kB / 475.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1183, allocations: 4 kB / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.1185, allocations: 203.2 kB / 475.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1185, allocations: 0 / 475.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1188, allocations: 23.98 kB / 475.6 MB, free: 8.059 MB / 350.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 (8): * Single equations (assignments): 8 * 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.001116/0.1199, allocations: 462.3 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1202, allocations: 63.95 kB / 476.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1202, allocations: 0 / 476.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.1203, allocations: 43.89 kB / 476.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.1207, allocations: 21.77 kB / 476.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.1213, allocations: 358.9 kB / 476.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1216, allocations: 0.72 MB / 477.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.1217, allocations: 11.44 kB / 477.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1217, allocations: 4 kB / 477.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of Templates: time 0.003909/0.1256, allocations: 1.82 MB / 479.1 MB, free: 4.688 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches