Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, 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.001318/0.001318, 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.46/1.46, allocations: 222.9 MB / 242.4 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.1955/0.1955, allocations: 44.18 MB / 336.8 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 65.17 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.09518, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003146/0.09837, allocations: 1.696 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.0992, allocations: 439.2 kB / 471.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.09929, allocations: 4 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.09956, allocations: 55.86 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.09974, allocations: 59.81 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.1002, allocations: 155.4 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1004, allocations: 79.75 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1005, allocations: 23.98 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.1005, allocations: 23.92 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1007, allocations: 51.7 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1007, allocations: 0 / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1008, allocations: 47.98 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.1009, allocations: 23.92 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.1009, allocations: 23.8 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1011, allocations: 84.17 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1011, allocations: 0 / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1011, allocations: 0 / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1011, allocations: 0 / 471.9 MB, free: 12.07 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.0005528/0.1017, allocations: 411 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1017, allocations: 8.031 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.1018, allocations: 8.844 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.102, allocations: 204.6 kB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.102, allocations: 384 / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1021, allocations: 11.94 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1023, allocations: 69.66 kB / 472.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1023, allocations: 0 / 472.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1023, allocations: 0 / 472.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1023, allocations: 0 / 472.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1025, allocations: 51.89 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.103, allocations: 320.7 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.1032, allocations: 62.58 kB / 473 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.1033, allocations: 24.97 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1034, allocations: 0 / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1034, allocations: 38.56 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1034, allocations: 4 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001548/0.105, allocations: 420.7 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.105, allocations: 51.41 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1052, allocations: 184 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1052, allocations: 29.7 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.1053, allocations: 104 kB / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.1054, allocations: 47.41 kB / 473.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.1054, allocations: 29.7 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1056, allocations: 318.8 kB / 474.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1057, allocations: 51.97 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1058, allocations: 59.95 kB / 474.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.1061, allocations: 120.8 kB / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1061, allocations: 0 / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003322/0.1065, allocations: 161.4 kB / 474.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1065, allocations: 4 kB / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1065, allocations: 7.938 kB / 474.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1065, allocations: 7.984 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1066, allocations: 31.92 kB / 474.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1067, allocations: 0 / 474.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.1067, allocations: 7.984 kB / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1067, allocations: 4.562 kB / 474.7 MB, free: 9.051 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.0001286/0.1069, allocations: 134.4 kB / 474.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1069, allocations: 11.91 kB / 474.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.1073, allocations: 194.6 kB / 475 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1073, allocations: 0 / 475 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1074, allocations: 4 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1074, allocations: 0 / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.1081, allocations: 0.4921 MB / 475.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1081, allocations: 0 / 475.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/0.1082, allocations: 27.98 kB / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1082, allocations: 0 / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1082, allocations: 4 kB / 475.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-06/0.1082, allocations: 7.984 kB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1082, allocations: 4.062 kB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.1086, allocations: 273 kB / 475.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.1087, allocations: 85 kB / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1087, allocations: 8 kB / 475.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.1088, allocations: 8 kB / 476 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1089, allocations: 11.98 kB / 476 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1089, allocations: 3.984 kB / 476 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.109, allocations: 139.3 kB / 476.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.109, allocations: 3.938 kB / 476.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1093, allocations: 23.91 kB / 476.1 MB, free: 7.516 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.001087/0.1104, allocations: 459.5 kB / 476.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.1108, allocations: 131.8 kB / 476.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1108, allocations: 0 / 476.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1109, allocations: 71.89 kB / 476.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1114, allocations: 15.98 kB / 476.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.112, allocations: 351.5 kB / 477.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1124, allocations: 0.7121 MB / 477.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.1124, allocations: 15.44 kB / 477.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1124, allocations: 0 / 477.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of Templates: time 0.00401/0.1165, allocations: 2.004 MB / 479.9 MB, free: 3.895 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches