Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, 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.002087/0.002087, 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.55/1.55, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2239/0.2239, allocations: 44.17 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 65.56 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003302/0.1114, allocations: 1.688 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.1123, allocations: 447.2 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.1124, allocations: 4 kB / 471.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.1126, allocations: 47.81 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1128, allocations: 43.89 kB / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.1133, allocations: 170.6 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1135, allocations: 75.75 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1136, allocations: 16 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.1136, allocations: 31.91 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.781e-05/0.1138, allocations: 39.77 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1138, allocations: 8 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1139, allocations: 47.92 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.114, allocations: 23.97 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.114, allocations: 27.75 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1142, allocations: 72.17 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1142, allocations: 0 / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1142, allocations: 0 / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1142, allocations: 0 / 471.9 MB, free: 12.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005226/0.1147, allocations: 399.2 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1148, allocations: 15.97 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.1148, allocations: 12.75 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.115, allocations: 200.1 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1151, allocations: 4.359 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1151, allocations: 4.375 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1153, allocations: 73.78 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1153, allocations: 0 / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1153, allocations: 0 / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1153, allocations: 0 / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1155, allocations: 51.91 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.116, allocations: 312.7 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.1162, allocations: 58.55 kB / 473 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.1163, allocations: 33 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1163, allocations: 0 / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1164, allocations: 34.56 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1164, allocations: 0 / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001459/0.1178, allocations: 413.3 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1179, allocations: 59.34 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.118, allocations: 165.8 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1181, allocations: 29.69 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.1181, allocations: 104 kB / 473.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.1182, allocations: 39.39 kB / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.1182, allocations: 33.59 kB / 473.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1183, allocations: 322.8 kB / 474.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1185, allocations: 55.95 kB / 474.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1186, allocations: 55.89 kB / 474.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1189, allocations: 124.9 kB / 474.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1189, allocations: 4 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003371/0.1193, allocations: 165.5 kB / 474.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1193, allocations: 4 kB / 474.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1193, allocations: 3.938 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1193, allocations: 0 / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1194, allocations: 31.91 kB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1194, allocations: 0 / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.1195, allocations: 15.98 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1195, allocations: 8 kB / 474.7 MB, free: 9.082 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 (11): * Single equations (assignments): 11 * 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.0001011/0.1196, allocations: 126.4 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.1197, allocations: 7.906 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.1201, allocations: 186.7 kB / 475 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1201, allocations: 0 / 475 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1201, allocations: 4 kB / 475 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1201, allocations: 4 kB / 475 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.1208, allocations: 0.4959 MB / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1208, allocations: 0 / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.1209, allocations: 31.98 kB / 475.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1209, allocations: 4 kB / 475.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.121, allocations: 0 / 475.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.121, allocations: 4 kB / 475.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.121, allocations: 0 / 475.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.1213, allocations: 273 kB / 475.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.1214, allocations: 85.02 kB / 475.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1214, allocations: 8 kB / 475.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.1215, allocations: 7.984 kB / 475.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1216, allocations: 7.984 kB / 475.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1216, allocations: 8 kB / 475.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1217, allocations: 136.9 kB / 476 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1217, allocations: 4.031 kB / 476.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.122, allocations: 35.92 kB / 476.1 MB, free: 7.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009934/0.123, allocations: 450.6 kB / 476.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.1233, allocations: 119.9 kB / 476.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1233, allocations: 4 kB / 476.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1235, allocations: 67.89 kB / 476.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1239, allocations: 20.19 kB / 476.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.1244, allocations: 347.6 kB / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1247, allocations: 0.7199 MB / 477.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.1248, allocations: 15.44 kB / 477.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1248, allocations: 0 / 477.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of Templates: time 0.00375/0.1286, allocations: 1.963 MB / 479.8 MB, free: 3.988 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches