Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 104 kB / 17.63 MB, free: 5.523 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.001076/0.001076, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.302/1.302, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2136/0.2136, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 69.05 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1126, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002885/0.1155, allocations: 1.627 MB / 470.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007367/0.1163, allocations: 451.1 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.1163, allocations: 4 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1166, allocations: 51.73 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.1168, allocations: 51.83 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.1171, allocations: 174.8 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1173, allocations: 83.77 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.1174, allocations: 15.98 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.1175, allocations: 35.91 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.1175, allocations: 43.78 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1176, allocations: 4 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1177, allocations: 51.97 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1177, allocations: 23.86 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.1178, allocations: 39.73 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1179, allocations: 95.98 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.118, allocations: 4 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.118, allocations: 0 / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.118, allocations: 0 / 472 MB, free: 11.65 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.0004743/0.1185, allocations: 403.1 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1185, allocations: 8.031 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.1185, allocations: 12.75 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1187, allocations: 207 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1187, allocations: 4.375 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1188, allocations: 4.375 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1189, allocations: 65.8 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.119, allocations: 0 / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.119, allocations: 4 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.119, allocations: 7.984 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1191, allocations: 43.97 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1195, allocations: 316.6 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1198, allocations: 58.55 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.1198, allocations: 29.06 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1199, allocations: 3.938 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1199, allocations: 30.56 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1199, allocations: 0 / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001406/0.1213, allocations: 420.8 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1214, allocations: 55.34 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1215, allocations: 173.8 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1215, allocations: 25.7 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.1216, allocations: 104 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.1216, allocations: 39.39 kB / 474 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1217, allocations: 25.72 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1218, allocations: 326.8 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1219, allocations: 51.95 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.1221, allocations: 47.97 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.1223, allocations: 136.7 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1223, allocations: 0 / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003147/0.1227, allocations: 161.8 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1227, allocations: 7.938 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1227, allocations: 3.938 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1227, allocations: 0 / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1228, allocations: 23.98 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1228, allocations: 3.938 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.1229, allocations: 15.98 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1229, allocations: 8 kB / 474.7 MB, free: 8.656 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 9.386e-05/0.123, allocations: 125.8 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.1231, allocations: 7.906 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.1234, allocations: 194.2 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1235, allocations: 0 / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1235, allocations: 0.5625 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1235, allocations: 3.984 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.1241, allocations: 0.4921 MB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1241, allocations: 0 / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1242, allocations: 39.91 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1242, allocations: 4 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1243, allocations: 0 / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1243, allocations: 0 / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1243, allocations: 4 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.1246, allocations: 273 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.1247, allocations: 85.02 kB / 476 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1247, allocations: 4 kB / 476 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.1248, allocations: 11.98 kB / 476 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1248, allocations: 7.984 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1249, allocations: 8 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.1249, allocations: 136.7 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.125, allocations: 0 / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1252, allocations: 28 kB / 476.2 MB, free: 7.133 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.0009241/0.1261, allocations: 460 kB / 476.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.1265, allocations: 135.8 kB / 476.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1265, allocations: 0 / 476.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1266, allocations: 68.02 kB / 476.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.127, allocations: 33.84 kB / 476.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.1275, allocations: 287.8 kB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1277, allocations: 0.7158 MB / 477.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.1278, allocations: 28.52 kB / 477.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.1279, allocations: 19.44 kB / 477.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1279, allocations: 0 / 477.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Templates: time 0.003628/0.1315, allocations: 1.589 MB / 479.5 MB, free: 3.949 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches